Search code examples
javascriptreactjsdust.jsserverside-javascript

Conceptual differences between reactjs and dustjs


So I recently started working on a project that requires client side templating for faster response time as well as server side rendering for faster first load as well as SEO optimization.

In this regard, I have been looking at two libraries: Reactjs and dustjs.

I have used Reactjs previously and am aware of its control flow and virtual dom concepts. I wanted to know how would Dustjs compare with Reactjs viz-a-viz the various concepts:

  • Stateful components
  • Render
  • Two-way data binding
  • Server-side rendering
  • Feel free to add your own to enrich the answer

Solution

  • React and Dust are not comparable with the concepts you list, because dust doesn’t have any of them (except "render", obviously). And they are also designed to solve different problems.