Complete rerender is triggered when using the Provider #1038
Labels
bug
Something isn't working
good first issue
Good for newcomers
Needs more info
Further information is requested
Describe the bug
When I try to open a component that lives in a modal and the app is wrapped in the Provider the complete app is re rendering.
simplescreenrecorder-2023-06-06_10.32.18.mp4
To Reproduce
I tried to reproduce it in codesanbox but I can't reproduce it there. So I added 2 video's. One with the provider on without.
Expected behavior
Here I removed the Provider around my app and then you see that the selector component will render
simplescreenrecorder-2023-06-06_10.34.49.mp4
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: