-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rerendering #10
Comments
No it doesn't atm... Happy to take a pr. I'm not using or maintaining this
|
A hackish way to force a re-render is to set a key based on some part of your data. When the key changes, React drops the old component and rerenders things. Not very high performance obviously. Someone who knows D3 a lot better than me is very welcome to rework this module so it adjusts to new props. Or switch to Victory.js once tooltips are added FormidableLabs/victory#83 |
Pretty new to React; wish to take a shot at this. Just couldn't have it rerender, where can I dig? |
@jikkujose this component is pretty small. Look through it's source file and try to understand it https://github.com/KyleAMathews/react-micro-bar-chart/blob/master/src/index.cjsx |
seems not to rerender if data is changed :(
The text was updated successfully, but these errors were encountered: