how can i show loading indicator ?
hello guys,,
i tried to view
now i used _renderScene = ({ route }) => {
switch (route.key) {
case 'main':
return ;
break;
case 'amounts':
return
default: return null; }}; but it is delayed too how can i solve that please ? thanks,,
On will mount, Create a loading scene first, if you have 3 scene, create 3 loading scene, save it to your class state.
On render, load the scene, and implement state loading scene.
On did mount, call your _renderScene with your stuff, Ajax, fetch, redux or whatever and overide scene state
Hey, I just released a new alpha 2.0.0-alpha.0 of the library. It's rewritten using react-native-gesture-handler and react-native-reanimated addresses a many platform specific bugs and performance problems. The documentation is updated as well.
Please try the new version and see if it addresses your issue. If not, please open a new issue following the issue template.