3 ms·
React is actually really simple functional renderer, 20 files, 316 KB It is not difficult or complex at all to use pure functions and seven hooks. They are doc
by gloosx 3y ago
React is actually really simple functional renderer, 20 files, 316 KB
It is not difficult or complex at all to use pure functions and seven hooks. They are documented exceptionally well.
All the complexity author is complaining about he created himself. You can keep the browser router if you want, it can be synced with reactive state using a single side-effect and a single reducer, you don't need to replace it with react-router. You don't need to use Next.js. You don't need SSR or graphql. You can use just regular CSS if you want. This is not complexity that "comes with React", React comes with nothing like that. This is complexity you are stuffing into it.