Hey there,
is it possible to define a slot inside my <App>
where popups will be created? I have a Popup with a <View>
inside it and it needs to be inside of <DataContextProvider>
to work.
Here is a simplified example:
<App>
<LoadingScreen opened={...} />
<WelcomeScreen opened={...} />
{data && (
<DataContextProvider data={data}>
<View main url='...' />
/** New Popup needs to be created here **/
</DataContextProivder>
)}
/** and not here ;) **/
</App>
thx!