cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
Oliver George 2021-02-24T02:11:52.001400Z

Anyone have experience with Ionic Framework? I'm trying to assess strengths and weaknesses.

Oliver George 2021-02-24T03:12:19.002700Z

New question. I'm doing a quick Expo prototype. No CLJS just now. I'd love some quick and easy global state... if this was CLJS land I'd use reagent... does JS land have a good simple equivalent?

Oliver George 2021-02-24T08:24:01.003700Z

Thanks @raspasov and @barnes.kai

mark 2021-02-25T12:02:29.005700Z

you’ve probably already seen this, but you might also consider react’s context api https://reactjs.org/docs/context.html

mark 2021-02-25T12:03:05.006Z

context/reducer is a common pattern https://reactjs.org/docs/hooks-reference.html#usereducer

bherrmann 2021-02-25T15:25:10.008500Z

I thought redux is the way to manage react state https://react-redux.js.org/

mark 2021-02-25T15:32:47.008800Z

redux is a way, but react’s own context api + hooks can replace most (all?) of it

Oliver George 2021-02-24T03:12:31.003Z

(I see recoiljs which seems promising)

raspasov 2021-02-24T04:11:32.003200Z

I’ve never done a React project with JS, but you’d probably want something like ImmutableJS if you plan to stick with the global state approach in React+JS beyond a toy example

Kai 2021-02-24T05:12:07.003400Z

Haven’t used it myself yet, but I’ve heard good things about https://github.com/pmndrs/zustand

danielneal 2021-02-24T12:48:48.004100Z

yeah recoiljs looks really good

danielneal 2021-02-24T12:49:16.004900Z

if you just want really basic stuff you can get by with putting the state in a global context

danielneal 2021-02-24T12:49:33.005400Z

but it's very inefficient