GithubHelp home page GithubHelp logo

Comments (10)

anp avatar anp commented on June 16, 2024 1

@nikhilag the Expo client usually has a ~1 week delay from a stable React Native release, I expect RN 0.43 support will be released early next week. By default Expo projects use a fork of RN so that we can ship important bugfixes early if need be, but both "vanilla" RN from npm and the Expo fork tarball should work just fine.

I suspect the old version of victory-native is because that's the version that's compatible with the react-native-svg we ship in the client app, but I could be wrong. Maybe @brentvatne can fill in with details there?

from victory-native-demo-crna.

brentvatne avatar brentvatne commented on June 16, 2024 1

hello! I added victory-native to an expo examples repo here: https://github.com/expo/examples/tree/master/with-victory-native

from victory-native-demo-crna.

sibelius avatar sibelius commented on June 16, 2024

could you send a PR, removing this fontFamily

fontFamily: "Menlo",
?

from victory-native-demo-crna.

 avatar commented on June 16, 2024

Thanks for the reply. I can definitely do that but there is another issue that occurs after removing that line - "Error while updating property 'd' in shadow node of type: RNSVGPath"
screenshot_20170327-161515

from victory-native-demo-crna.

 avatar commented on June 16, 2024

I took a look at the native-component-list app as mentioned by @dikaiosune in expo/create-react-native-app#121
I was able to make that app work on local android emulator but I noticed that there are some strange versions used in package.json (https://github.com/expo/native-component-list/blob/master/package.json):-

"dependencies": {
    "@expo/ex-navigation": "2.9.3",
    "@expo/samples": "^1.0.3",
    "expo": "15.0.2",
    "gl-mat4": "^1.1.4",
    "hsv2rgb": "^1.1.0",
    "react": "~15.4.2",
    "react-native": "https://github.com/exponent/react-native/archive/sdk-15.tar.gz",
    "regl": "^1.3.0",
    "victory-native": "0.6.0"
  }

Why is react-native version a url? What version number should we actually use here?
Also victory-native version seems pretty old since the current version appears to be 0.7.2.

from victory-native-demo-crna.

sibelius avatar sibelius commented on June 16, 2024

@nikhilag feel free send a PR fixing this

from victory-native-demo-crna.

 avatar commented on June 16, 2024

@sibelius I really want to fix this but I am trying to figure out how. As of now, no matter what version i use in package.json, victory-native doesn't work with crna. I keep getting the error that I posted above. I haven't tried the package.json used in native-component-list yet but it doesn't seem the correct approach. Why are they using a custom url for react-native and why are they using an old version of victory-native?

from victory-native-demo-crna.

sibelius avatar sibelius commented on June 16, 2024

I think they are using an old version of react-native-svg, so this is probably breaking the new version of victory-native

from victory-native-demo-crna.

 avatar commented on June 16, 2024

Is support for 0.43 coming soon?
@brentvatne Please comment on what versions are needed for victory-native to work with create-react-native-app.
Thanks.

from victory-native-demo-crna.

sibelius avatar sibelius commented on June 16, 2024

looks good tks

from victory-native-demo-crna.

Related Issues (2)

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.