Skip to content
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

Graph adds previous points on hot refreshes and setState #97

Open
chapmacl opened this issue Aug 15, 2020 · 0 comments
Open

Graph adds previous points on hot refreshes and setState #97

chapmacl opened this issue Aug 15, 2020 · 0 comments

Comments

@chapmacl
Copy link

I noticed something weird with my graphs being that the data, not the graph, was being reloaded during hot refreshes, and also by calling setState. The code is basically copied from the pub.dev example, with the data being from my database.

Here is the original. The graph exists inside of a Futurebuilder and the data is from Firebase.
117871772_223770358975544_3833334334188104945_n

Then after hot refreshing (identical behavior whenever I called setState)
117877437_1376240742764323_5520555213279951437_n

And after awhile it becomes very apparent something isn't correct
118007769_634023524164865_2800617718717701653_n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant