switch tab instantaneously
closed
Brent Vatne
closed
Sébastien Lorber
If you want your tab to switch instantly, the new tab should render fast. If it can't render fast, make the rendering lazy. You can use something like that: https://gist.github.com/slorber/d473b9217b54427f3dec128bf08e14a2
Johan Ruokangas
Hi Ketan!
Can you provide an example and a device where you’re experiencing slowness?
I’ve been using React Navigation for a long time and only time I’ve had any noticeable delay it was because of to my tab component was slow to render, not changing the tab per se.
E: typos
P
Phil Wilks
Johan Ruokangas: Same here