useModal(), we're outside of React Context's area, so in other words: we can't interact with the modal stack anymore.
logErrorWithModal(origin, error)to log any error to our debug console & Firebase's Crashlytics and open an
'ErrorModal', if we don't already have any modal open.
modalfy()opens the door to even more complex and sophisticated use cases and we can't wait to see what you'll be able to build with it!
modal.openModal(). The main benefit, as you can guess, is a really really really nice autocomplete experience. Once again: the new Type checking with TypeScript guide is waiting for you if you're interested in this matter. If you just want to see it in action: there is a new Expo demo project waiting for you here!
backBehaviorper modal via modalOptions!
modalfy.getParam()gives you granular access to the params you pass to your modals.