You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ImageGalleryViewer screen, we need the main RCL list to scroll in the background while exploring the images.
For this purpose, we passed the RCL reference to this screen through navigation params and it is not a good idea and get a warning from react-navigation.
ImageGalleryViewer > params.scrollToItem (Function)
This can break usage such as persisting and restoring state. This might happen if you passed non-serializable values such as function, class instances etc. in params. If you need to use components with callbacks in your options, you can use 'navigation.setOptions' instead. See https://reactnavigation.org/docs/troubleshooting#i-get-the-warning-non-serializable-values-were-found-in-the-navigation-state for more details.
In the ImageGalleryViewer screen, we need the main RCL list to scroll in the background while exploring the images.
For this purpose, we passed the RCL reference to this screen through
navigation params
and it is not a good idea and get a warning fromreact-navigation
.ImageGalleryViewer > params.scrollToItem (Function)
This can break usage such as persisting and restoring state. This might happen if you passed non-serializable values such as function, class instances etc. in params. If you need to use components with callbacks in your options, you can use 'navigation.setOptions' instead. See https://reactnavigation.org/docs/troubleshooting#i-get-the-warning-non-serializable-values-were-found-in-the-navigation-state for more details.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: