Giter VIP home page Giter VIP logo

Comments (3)

IjzerenHein avatar IjzerenHein commented on July 20, 2024 1

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.

joebochill avatar joebochill commented on July 20, 2024

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.

joebochill avatar joebochill commented on July 20, 2024

Looks like it's working as expected now @IjzerenHein, thanks!

from snack-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.