3 ms·
The original API when it was originally released was much saner. That was before JavaScript even had "classes" which meant React classes didn't have nearly as m
by doodlesdev 4y ago
The original API when it was originally released was much saner. That was before JavaScript even had "classes" which meant React classes didn't have nearly as much boilerplate. After they migrated the API for React class components to be JavaScript classes it all went downhill. And then the functional people came and the rest is history.
- klysm 4y agoWhat's your preferred framework? I quite like react with hooks - it's the best thing (to me at least) I've used so far to make UIs.
- doodlesdev 4y agoFor web UIs my preferred framework is SvelteKit. It's based on Svelte which is more of a language than a library but code is basically HTML, CSS and JavaScript, it's simple and fast. I really want to migrate to using something such as Yew for scripting web UIs though, I can't take JavaScript/TypeScript anymore lol.