Code Monkey home page Code Monkey logo

Comments (7)

wcandillon avatar wcandillon commented on June 5, 2024

there are a couple of issues here:

  1. For the snack to work, you need to use code splitting as done at https://snack.expo.dev/@wcandillon/hello-snack
  2. Then on iOS and Android, ref.current might be null as pointed out by TypeScript. Leading to an expected error.
Screenshot 2024-02-21 at 09 05 50

Are you using TypeScript? TypeScript gave the error immediately. These bug reports take a bit of time on our side to investigate so I hope you can investigate them as much as possible before reporting them.

from react-native-skia.

Angelk90 avatar Angelk90 commented on June 5, 2024

@wcandillon : About snacks in tsx it doesn't tell me anything: https://snack.expo.dev/wwx8ZeKJ0bwB0795doucE
Screenshot 2024-02-21 alle 09 46 56

from react-native-skia.

wcandillon avatar wcandillon commented on June 5, 2024

yes I love snack but it's probably not advanced enough but such project.
Do you have requirements to use snack? Sometimes I try to development on snack but it's actually really hard because you are missing a lot of the advanced tooling from VSCode

from react-native-skia.

Angelk90 avatar Angelk90 commented on June 5, 2024

@wcandillon : The main reason is easy I don't have to build the whole environment, I just put the code and I can use it.

In the past and even now, when I try to run the code on the PC there can be errors with the development environment, which wastes my time.

Especially with the weird errors that don't appear in anyone's documentation or issues.

from react-native-skia.

wcandillon avatar wcandillon commented on June 5, 2024

from react-native-skia.

Angelk90 avatar Angelk90 commented on June 5, 2024

@wcandillon : If I want to try it on the Mac, I simply need to add the package, files and install the node modules.
But what should I insert in the package.json to make it start?

from react-native-skia.

wcandillon avatar wcandillon commented on June 5, 2024

this is the way to do it: https://docs.expo.dev/tutorial/create-your-first-app/

from react-native-skia.

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.