#React

41 tweets

Dang. A day into refactoring a large #React app to use render props (in order to
allow re-use of application logic with a user-definable layout), I hit the
problem where render props return components with render props, and hooks don't
get called all the time.

#React is getting weirder, Hooks are a great improvement but it's still to easy
for novices to break out of the declarative React world into wild JS because
React and JS are used side by side in the same context.

Maybe in 2020 I find a good project to look into
@elmlang again.

First time I built a static site using @gatsbyjs and it was a great experience:
you can use #React, have content from Markdown, a great developer experience,
and when done, it spits out a super fast static site. 👏

Async rendering in #react will remove so much clunky handling of "wait for
content to be available" code.

It's so great how the @reactjs identified an
improved from which both developers and users will benefit.

#jsconfis