5 ms·
Thanks! Mobile is React native, Mac Desktop app is electron + react and website is react. For anyone else wondering.
by jqbx_jason 8y ago
Thanks!
Mobile is React native, Mac Desktop app is electron + react and website is react. For anyone else wondering.
- mephitix 8y agoWould be interested to learn more about how you share components/code between RN and React!
- jqbx_jason 8y agoFeel free to shoot me an email jason[at]thebestagency.com if you have anything specific. At a high level a lot of the components end up being pretty different because the UI is naturally pretty different. They share some functions but the "DOM" is mostly rewritten. But the redux actions and reducers are all pretty much the same (small changes depending on how to store state but that could definitely be abstracted away).
- slig 8y ago> But the redux actions and reducers are all pretty much the same (small changes depending on how to store state but that could definitely be abstracted away). Are you using a monorepo? The reducers/actions are copied/pasted for each version? Thanks!