Re:Solid.js feels like what I always wanted React to be
by recursive on Tuesday March 01, 2022 @01:55PM
(#30518375)
But I mean, it's not really. A hook invocation looks exactly like a javascript function invocation. Except it's subject to hook rules. Those don't come from javascript. Those are language rules that come from react. And even worse, the syntax for invoking a hook is exactly the same as the syntax for calling a function.
Having templating DSLs in other frameworks isn't a deal breaker, but it's a pro of React that I appreciate.