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

[Question] Is it possible to update props from outside after component is rendered #50

Open
iamthefox opened this issue Jun 17, 2020 · 2 comments

Comments

@iamthefox
Copy link

Is it possible to update props from outside after component is rendered?

Example:
I have non-react form with a single react component bound via habitat. There is a checkbox next to react component which dictates wether react component should be enabled or disabled. What would be the best approach to update props after react component was already bound and rendered.

@BramKaashoek
Copy link

It is not.

Since this package has received few updates of the last years I decided to write my own version at https://www.npmjs.com/package/react-abode.

It will automatically detect prop changes and rerender your react component.

@jennasalau
Copy link
Contributor

Im open if someone wants to be added as a maintainer... dont get much free time for this anymore

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

3 participants