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
I am developing a cross-platform application including Mobile and Web, using a Solito Next framework
For native Mobile apps, Skia works just fine, But when using Skia with Next.js I encounter some issues
Issues:
a fs not found error:
_because of using_⬇️
<WithSkiaWeb
getComponent={() => require('./MySkiaComponent')} //<<----- This will not work for client-side rendering
fallback={<Text>Loading Skia...</Text>}
/>
it's a conditional Import, and In Next.js Clint has no access to the other file
I tried it using the getServerSideProps but Cant find an effective way
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am developing a cross-platform application including Mobile and Web, using a Solito Next framework
For native Mobile apps, Skia works just fine, But when using Skia with Next.js I encounter some issues
Issues:
a fs not found error:
_because of using_⬇️
it's a conditional Import, and In Next.js Clint has no access to the other file
I tried it using the
getServerSideProps
but Cant find an effective waycan someone Gide me throw this ??
Any Help will be Much appreciated
Beta Was this translation helpful? Give feedback.
All reactions