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
{{ message }}
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.
So I upgraded my project to RN 0.40 and pathjs charts doesn't seem to work anymore as seen below. I read in another issue that this library may not work with 0.40 just yet but wanted to make sure that's the case and that there is no workaround.
I'm using pathjs-chart 0.0.24 and RN 0.40 running on iOS.
You didn't mention which version of react-native-svg you are using but assuming you didn't explicitly upgrade to a newer version of react-native-svg and stayed at version 4.4.1 (which is what you get by default with a npm install), this is the error I receive as well.
I'm not totally sure what the reason for the error is but I will mention that the react-native-svg README indicates that versions 4.5.0 and greater are meant to work with react-native 0.40. It also says this:
react-native-svg >= 4.4.0 only supports react-native >= 0.38.0
I'm not sure if that is really meant to say this instead:
react-native-svg >= 4.4.0 only supports react-native >= 0.38.0 and < 0.40.0
Regardless, my comments on #58 show the behavior differences I experienced when I upgraded to react-native 0.40 and tried to use react-native-svg versions of both 4.6.1 and 5.14. I didn't get the error above with either of those versions and I did see charts rendered, I just didn't see them rendered correctly as I would expect and that is why I've held off upgrading this library to target react-native >= 0.40.0 just yet.
Summarizing my comments above, the targeting of an older react-native-svg version (4.4.1) is driving the need to stay on an older version of react-native (0.38.0). Until there is more stability in react-native-svg, this lib will continue to target older versions. Closing this for now and hoping for more stability in future versions of react-native-svg to allow newer react-native versions to be used.
So I upgraded my project to RN 0.40 and pathjs charts doesn't seem to work anymore as seen below. I read in another issue that this library may not work with 0.40 just yet but wanted to make sure that's the case and that there is no workaround.
I'm using
pathjs-chart 0.0.24
andRN 0.40
running on iOS.Drawing a basic bar chart like this:
Cheers.
The text was updated successfully, but these errors were encountered: