Fork me on GitHub
#cljsrn
<
2018-04-28
>
aaron5104:04:08

In an app with React Navigation, where each screen loads its own data, should each screen have its own reagent/atom to hold the data? Or should the data be in the re-frame db? How is the screen associated with its data in the db? (Give each screen a gensym…?) Would we need to delete the data in the db when the screen does component-will-unmount to avoid holding on to unused memory?

carocad09:04:17

@aaron51 I think you should take a look at the cljs react navigation library. There is a re-frame example over there that can help you clarify those questions

👍 4
alvina12:04:32

i write a code which cause repl stauck

alvina12:04:40

i am out get out it

alvina12:04:53

nomally :cljs/quit works

alvina12:04:25

in react-native environment it not working

alvina12:04:48

how can get rid of REPL[======]

alvina12:04:00

without restarting again

aaron5117:04:57

What is the difference between [:> SomeComponent ...] and [SomeComponent ...]? ... hard to google the :> keyword!

aaron5120:04:54

Thank you!