#10 Lazy-load is not great
I’ve just discovered that lazy loading components is not that great for this kind of apps.
Lazy load
The app has tabs as main router, and when you click on another tab, it lazy loads that page.
That behavior is completely weird (you don’t expect that in mobile apps!), not sure why that’s the recommended way of doing ¯\_(ツ)_/¯
Final tweaks
I’m doing some final tweaks (code style and such), and I might even test some cypress tests. I’ve also noticed that it takes some time to load the Journal, so maybe there is something I can do to make it faster. I think the problem that is that it’s calculating the hexagram figure from the hexagram number for EVERY SAVED ITEM, which is probably not great (O(n2))