Fork me on GitHub
#react
<
2021-10-04
>
roman01la08:10:53

@lilactown nothing really important, I’m exploring alternatives to understand what is possible, so far here’s the list • a macro instead of defn • runtime wrapping of defns ala Reagent • direct props passing via own createElement

roman01la08:10:27

We are also exploring compiling a subset of Hiccup via tagged literals

#el [:div ...]
We do want to have Hiccup, but also more or less smooth transition path for devs. Using tagged literals for createElement is relatively easier in existing Reagent components, since most of the time it requires prepending a form with #el

roman01la08:10:29

React-Redux has been released with React 18 compat included https://twitter.com/acemarke/status/1444736773142241285?s=20, featuring useSyncExternalStore to subscribe to external event emitters