Fork me on GitHub
#cljsrn
<
2019-04-28
>
lepistane15:04:29

hey guys should i use something like https://reactnavigation.org/ for screens in my app? Is that over kill i feel like all that router stuff could be made with re-frame and no complications?

jimberlage16:04:51

I’ve found it to be overkill. Indicating which screen you’re on is pretty easy with something like {:current-screen :loading :history [:homepage :loading]} and using regular events

jimberlage16:04:52

The animations are nice though - but you can copy them over if you want and the CLJS definitions for the animations are usually more readable than the source, too

lepistane19:04:06

btw i tried and i can't even make it work 😄 i am getting server status 500 do you by any chance have those animations in cljs file?