8 ms·
So now you need a framework on top of React - itself a framework. Has React really become so complex that mere mortals cannot comprehend it without another abst
by DandyDev 2y ago
So now you need a framework on top of React - itself a framework. Has React really become so complex that mere mortals cannot comprehend it without another abstraction layer on top?
And the first suggestion for this extra abstraction layer is NextJS, developed by a company with a vested interest to make it hard to run your app on anything else than their own service.
Seems to me that the time is ripe to disrupt frontend development yet again and introduce a simpler stack.
- Izkata 2y ago> Has React really become so complex that mere mortals cannot comprehend it without another abstraction layer on top? Wrong purpose. The extra layer provides things React never had, like URL routing.
- GrumpyNl 2y agoNobody knows how to write react anymore.
- globular-toast 2y agoReact is a user interface library. It doesn't do anything to dictate how you structure your code or help with your larger application.
- gcau 2y ago>So now you need a framework on top of React - itself a framework. You definitely do not need any framework for react, you don't even need a build step. And react is not a framework. Not that it has objective meaning, but I think these frameworks are not abstraction layers on react, they are tools sitting along side it to make things easier or give more features. You still interface the same with writing the same old jsx.
- sureIy 2y ago> you don't even need a build step You're not going to be popular if you write React code with React.createElement() instead of JSX. I know this from experience.
- 8n4vidtmkvmk 2y agoHahaha... you actually tried this?
- 0x1ceb00da 2y agowindow.rce = React.createElement
- curtisblaine 2y agoNope, you can use React just including it in your html page. All the added complexity is to give you a better dev experience if you need a highly interactive web application. Routing, linting, types, server rendering, state managing, static files, etc. You don't need all this if you're not developing web applications. You can write html and js and be happy.