4 ms·
I strongly disagree with this view. "You use JS anyway" is not a single valid reason to adopt React. Use it when you build interactive web applications (because
by Kovah 7y ago
I strongly disagree with this view. "You use JS anyway" is not a single valid reason to adopt React.
Use it when you build interactive web applications (because that's what it was developed for), or if your site uses heavy content-changing animations commonly used in SPAs. Documentations, on the other site, are neither of that. At least this is what I expect: I am searching for information because I have to solve a problem, not to look at nice animations or give the docs page a thumb up.
- sandGorgon 7y agoyou are mistaken here. Gatsbyjs is not a dynamic application. It is a React-based framework to generate static sites. Pretty much exactly like Hugo - except that Hugo uses Go templating and Gatsbyjs uses React. If you open the link i gave, it would solve the problem you needed to solve (and also get nice animations if you are so inclined). The other advantage is that in the future if you want to build a dynamic application, you can continue where you left off. You dont have to rewrite in another framework. Its React all the way down.
- Kovah 7y agoThanks for the clarification. Based on the Gatsby website itself and the docs it seemed that the websites generated with it also use React for the site itself. Apparently this is not the case. Still, the argument that one should better not bet on heavy frameworks for simple documentation is kinda valid, even if not applicable for the given use case.
- r_singh 7y agoPlease follow the link. Gatsby is a React based static website generator. Why React? Because there's A LOT of developers familiar with it. Why Gatsby? Has a ton of plugins and starter kits. It's also super simple to use along with modern CMSes like Ghost, Netlify, Contentful, Tina, etc. > That's what it was developed for React's official website recommends using Gatsby if you're building a static website.