3 ms·
I'd say that using Next for a static site is just as over engineered, personally.
by Accacin 5y ago
I'd say that using Next for a static site is just as over engineered, personally.
- mmcnl 5y agoI disagree. Expressing your frontend layout as code is not over engineering at all imo. It makes it easier to re-use code and is great for testability. Next is perfect for this use case. I actually think the code is quite elegant too. It's open source, so don't take my word for it, but have a look for yourself: https://github.com/minvws/nl-covid19-data-dashboard/tree/develop/packages/app https://github.com/minvws/nl-covid19-data-dashboard/tree/dev....
- dwohnitmok 5y ago> Expressing your frontend layout as code is not over engineering at all imo What do you mean by this? Isn't all frontend layout expressed as code?
- mmcnl 5y agoHTML is not code imo. With React (and thus Next) you can treat your frontend code as full-fledged functions and objects.