Ah, unfortunate. I wasn't expecting the 3d stuff, but web is the most important platform to me. It's just the most accessible distribution platform. Users won't blink at clicking a link and loading a page, but might balk if you ask them to install an app.
Web is also why bundle size matters to me. As many apps have made clear, you can succeed with a stupidly large bundle. No so with a long initial page load.
If you supported web with those small bundles, I'd be very interested. As it stands, I wish you the best of luck.
I think you’re probably referring to the lifecycle methods, which have relatively clear and unambiguous names in class components. The thing is, those names may make you feel comfortable that they do what their respective names imply, but in reality they’re an abstraction away from how React really works under the hood. Hooks, for better or worse, get you a little “closer to the metal,” so to speak.
Also custom hooks are vastly more readable IMHO than HOCs.
Hooks were the beginning of the end of my interest in React. Truly a terrible concept. Way to magic. Not overly aesthetic, not to mention the async programming techniques the js community has developed for over a decade all kinda break down with hooks.
You can’t even just keep using class based as they have no way to consume hooks.
Unit testing of hook based code is non existent IME. It’s some kinda funky E2E feeling test.
React was my favorite framework before. It’s really a shame.
> Unit testing of hook based code is non existent IME. It’s some kinda funky E2E feeling test.
I’m guessing you’re referring to the fact that you can’t access component state like you can with class components. If so, that’s not required to do a unit test. That’s a sign that implementation details are leaking into your tests.
They are just so simple to me that the "magic" never comes into play. Just a function that gets called when something in an array is different between renders.
I wouldn't suggest us for 3D rendering or games tbh, as it's react native like.
Our bundle size is pretty good.
We don't currently have web support but are investigating it.
Would you still be curious in checking it out?