News for hackers. Stuff that matters.
Re:A static website with React by magic_beans on Friday February 17, 2017 @10:57AM (#13669092)
Why does this feel like using a sledgehammer to hang a painting? I know people like React a lot, but it has no place generating a static website.
Re:A static website with React by Spivak on Friday February 17, 2017 @11:11AM (#13669251)
Because if you already use the sledgehammer to build mansions for your day job, using it to build your shed will take no time at all.
Re:A static website with React by StavrosK on Friday February 17, 2017 @03:04PM (#13671251)
That's why I screw all my screws in with a hammer. I'm just so good at nailing things!
Re:A static website with React by balac on Friday February 17, 2017 @12:04PM (#13669777)
The arguments seem pretty clearly presented in the article. What part do you disagree with?
Re:A static website with React by kylemathews on Friday February 17, 2017 @01:58PM (#13670748)
Static sites sit on a large spectrum from very simple to very complex. The nice thing about React is it works very well on very simple sites as well as very complex sites. So yes, for a very simple 5-10 pages site, using React might seem silly but for a site with complex theming and lots of clientside JS, using React makes things a ton easier.
Re:A static website with React by bloodyowl on Friday February 17, 2017 @05:33PM (#13672311)
React is a good paradigm to build UI. That's why people like it and use it more and more. If people both like React and need to create lightweight websites, why won't you let them do it?