Comments (10)
That's a great idea. One issue though is that we're using britecharts-react in our company's app that's on React 15, I'm not sure if it will still work if there are two different versions of React. But our company's app will eventually be on React 16 so we will definitely make the upgrade at some point. Either way it's worth investigating to see if we can upgrade britecharts-react to React 16 first, I'll spend some time looking into it today.
from britecharts-react.
The next big project for Frontend Platform team is React 16 so hopefully it won't be too long from now!
from britecharts-react.
Uohhh! Thanks for the heads up @sdalezman!
Let's see if we manage to move it soon!
from britecharts-react.
@Golodhros you should close this issue too.
from britecharts-react.
So we could upgrade the project to React 16, but we would need to maintain compatibility with React 15 so that this module could be used within a React 15 app without needing to bundle an additional version of React 16. That would probably mean either:
-
Only use the parts of the React API that are compatible with both React 15 and 16. That way somebody could, in theory, use this module in both React 15 and 16 apps. I haven't looked into how feasible this is.
-
Include both a React 16-compatible and a React 15-compatible distribution file, similar to how Enzyme does it: http://airbnb.io/enzyme/ I feel like this will end up being difficult to maintain, we don't really have the capacity to do this and would have to rely more on open source contributions to make it work. But it could be a good way to go.
from britecharts-react.
Let's wait then. We can leave this open as a 'proposal' and move it depending on the push of the community for it.
from britecharts-react.
We're using britecharts with react-16 and haven't had any problems yet (outside of some issues with react-test-renderer that we've worked around).
That being said, would love to see official support!
from britecharts-react.
@Golodhros and @jchen-eb I would like to work on this and see if I can add support and as many new features while keeping the compatibility with React 15. Will be fun 😁
BTW, how open are you guys to use @flow
as replacement of prop-types
?
from britecharts-react.
That would be awesome @davegomez!!
I am pushing for having our release issue fixed so we can start moving forward, hope it is done by next week!
Re: Flow, it seems that somebody is looking into adding Typescript to Britecharts and we want to have it open to different platforms (using this code to fuel the Angular and Vue wrappers). Not sure if Flow fits well into this strategy.
from britecharts-react.
Thanks @davegomez for this!!
from britecharts-react.
Related Issues (20)
- Cant set tooltip title to empty string HOT 2
- Bar Chart Y-axis name value getting truncated to '...' HOT 14
- StackedArea chart doesn't render correctly HOT 2
- Support TypeScript HOT 16
- Add customMouseMove and customClick to Donut chart
- Importing withResponsiveness() helper HOT 7
- Update project's documentation HOT 5
- Update Node HOT 3
- Tooltip with StackedBar not being rendered HOT 10
- Parse error when when generating chart boilerplate via plop HOT 2
- Styling ticks to fix offset and overlap HOT 7
- highlightSliceById prop of Donut component is not working
- Chart does not render with Tooltip when data is progressively added HOT 4
- Feature Proposal HOT 7
- Support Locale in Bar Chart HOT 1
- Broken and unclear documentation HOT 10
- customClick method is not working HOT 3
- Move implementation into Hooks HOT 1
- Move into TypeScript HOT 1
- How to change the font-size for the x- and y-axes? HOT 3
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 britecharts-react.