Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TourGuideProvider causing multiple re-renders #111

Open
sarath40158 opened this issue Aug 24, 2022 · 1 comment
Open

TourGuideProvider causing multiple re-renders #111

sarath40158 opened this issue Aug 24, 2022 · 1 comment

Comments

@sarath40158
Copy link

sarath40158 commented Aug 24, 2022

TourGuideProvider causing multiple re-renders

index.js file

<Redux>
    <App /> 
</Redux>

App.tsx file

<TourGuideProvider>
   <Navigator> 
</TourGuideProvider>

Navigator.tsx file

<HomeScreen />. <--- multiple re-render's

If we comment TourGuideProvider in App.tsx no re-render's, If we un-comment causing re-render

@AbisheekKumar
Copy link

TourGuideProvider causing multiple re-renders

index.js file

<Redux>
    <App /> 
</Redux>

App.tsx file

<TourGuideProvider>
   <Navigator> 
</TourGuideProvider>

Navigator.tsx file

<HomeScreen />. <--- multiple re-render's

If we comment TourGuideProvider in App.tsx no re-render's, If we un-comment causing re-render

Yes I face the same issue too. Did you found the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants