Javascript – Does react.js make sense for a static content-driven site

htmljavascriptweb-development

I'm pretty sold on the react.js model because it makes DOM manipulation so smooth and comprehensible. But I'm wondering how it could be leveraged for a site that's largely static with big blocks of text and images that don't move. Would it just get in the way? It seems awkward to have components with KBs of text in their state.

Best Answer

Know what you want to do, then choose the technology.

From that point of view, React.js seems to be overkill for a mostly static web.

From React's website:

We built React to solve one problem: building large applications with data that changes over time.

React is a hammer for a specific nail. That would indicate that it will get in the way of creating a mostly static website.

Related Topic