Relative Content

Tag Archive for typescriptreact-nativeexporeact-hook-formexpo-router

Save button in expo-router header

I am new to react native and am trying to hook up a save button in a modal header using expo-router. I can get the button to do what I need in the modal itself, but I would like this to be in the header that is set from the expo-router. It doesn’t seem right to move the data-saving logic into the routing file, and even when I do I get these realm context errors. So I don’t know how to proceed. Is there a way to do what I need with expo? Seems to me like this use case should be common, but I can’t seem to find an example anywhere, including their documentation.