Consume Jotai atoms in component or in wrapper container and pass them down as props?
I have a question about how to refactor overlay components in a very big WebApp with Jotai. I have two options in mind and would like your opinion on them.
The goal is to prevent rerendering of overlay Y if overlay X changes.