Dynamic screen
Dynamic screen
const Navigate = () => {
const Render = new RenderScreen();
const navigation = useNavigation();
const params = useParams()
const searchparams = useSearchparams()
return (
<Render.Render>
<Render.screen
title= 'home'
// hasNavbar={true}
path = '/settings/:settingID'
screen = { Settings }
/>
<Render.screen
title='home'
// hasNavbar={true}
path = { '/blog/:blogID/:title'}
screen = { About }
/>
</Render.Render>
)
}
Note: Avoid using slashes at the end of path
Bad/not working: /blog/:blogID/:title/
Use: /blog/:blogID/:title