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

refactor: make sure that balances and prices change independently #721

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

TravellerOnTheRun
Copy link
Contributor

The solution to be too simple to be true, but I verified with a couple of Stack Overflow threads, looks solid.

Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link
Contributor

@Freshenext Freshenext left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is OK in terms of code.

What I am afraid is that balances or prices are changing
And that will cause the entire context to trigger a re-render

We might be better splitting that context even more to have balances somewhere and prices elsewhere

An investigation has to be done to see how frequent these two change to potentially implement a better solution; but this one is OK assuming that both variables don't change that much

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

Successfully merging this pull request may close these issues.

3 participants