Skip to content

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

Open

Description

@arash-sadr

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions