Comments (3)
Hi! 👋
You can indeed specify sdkVersion=38.0.0
to load a specific version, or use sdkVersion=latest
to load the most recent SDK version.
We've recently improved dependency management in Snack which makes transitioning between SDK versions are lot easier. You will see warnings/errors when versions are not compatible with the selected SDK and prompts to fix those. And where possible Snack now automatically updates the version when you select a different SDK.
Hope this helps 👍
from snack-web.
I did some digging in the source and found that you can in fact specify the SDK version in the URL via &sdkVersion=38.0.0
.
This loads it up with the correct version selected, but it doesn't seem like the device preview is actually using that version. It throws the same error that I was seeing when it loads with 37 (I'm using things from the updated version of react-native-safe-area-context in sdk 38):
Device: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager.
If I use the dropdown to toggle to 37, then back to 38 and save, then the project runs fine.
from snack-web.
Looks like it's working as expected now @IjzerenHein, thanks!
from snack-web.
Related Issues (20)
- Embedding does not work HOT 1
- Using TypeORM in Snack makes Snack run out of memory in Chrome HOT 3
- Import Git Respository HOT 1
- Request failed with status 403: undefined
- Unable to resolve module 'module://fbjs/lib/areEqual.js' on snack HOT 1
- Custom fonts are not loaded HOT 3
- Modal not working as expected on Web HOT 2
- terser compress the code and breaks it HOT 1
- Can I lock orientation like through app.json? HOT 1
- Request failed with status 403 HOT 1
- can't import v36 expo? HOT 1
- Unable to import reanimated HOT 3
- No examples from React navigation docs working on Snack - Attempted to assign to readonly property HOT 6
- npm package imports with path not working HOT 1
- License File HOT 2
- web-player static script fetch failed (local cloned) HOT 2
- React error 130 is a nightmare to debug HOT 2
- Save button lights back up without user action right after a save HOT 1
- I can not see web preview HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snack-web.