Fork me on GitHub
#fulcro
<
2017-12-23
>
levitanong15:12:59

hi all, i wonder if any effort has been made into getting fulcro to work with preact.

levitanong15:12:42

or if some decision has been made not to pursue it, why?

tony.kay17:12:29

@levitanong no effort has been made. You could easily try it if the API really is identical (as they claim) by swapping out react dependencies in your lein file.

tony.kay17:12:17

E.g. exclude react from Fulcro 2, and include that lib.

tony.kay17:12:44

you might have to do some backfilling to set the js react symbols that Fulcro expects to find if their API isn’t in the same top-level things…`js/React.createElement`, js/React.Component, js/React.createFactory, js/ReactDOM.render, etc. You can easily grep for these in src/main.

levitanong23:12:22

got it, thanks @tony.kay!