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

Bounty tag with component state assigned to Value will not render upon state change. #3

Open
arash-sadr opened this issue Feb 26, 2020 · 0 comments

Comments

@arash-sadr
Copy link

Good day,

Install react-bounty package and imported and used the as follows in my component:

<Bounty value={ this.state.specs.savings?.trad?.capitalFee } className="bounty"/>

Whenever the state gets updated the bounty number on the UI won't change. I'm sure the state value successfully assigned to the Value attribute but upon change it doesn't trigger any render.

as a test I used another alternative textbox that gets rendered anytime the state value changes. while Bounty not.

image

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