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
Do you think we could allow modals to receive route parameters? Or is there already a way to do this? (btw tried setParams but did not understand fully how that should used for a modal screen)
I happened to require using a modal to confirm an action and to do it within the modal I needed some information (ig: ids)
I saw that with regular react navigation you could just pass params and the screen would receive that from useRoute().params
Right now I'm using global state to pass the information to my modal but would definitely be really useful to just do:
navio.show('myModal',{usefulId: 'someid'})
Similar to how navio.push signature is.
The text was updated successfully, but these errors were encountered:
Hello Kanzitelli. I'm loving navio since 0.0.1 !
Do you think we could allow modals to receive route parameters? Or is there already a way to do this? (btw tried
setParams
but did not understand fully how that should used for a modal screen)I happened to require using a modal to confirm an action and to do it within the modal I needed some information (ig: ids)
I saw that with regular react navigation you could just pass params and the screen would receive that from
useRoute().params
Right now I'm using global state to pass the information to my modal but would definitely be really useful to just do:
Similar to how
navio.push
signature is.The text was updated successfully, but these errors were encountered: