Answer the question
In order to leave comments, you need to log in
What is the advantage of this plugin over this.state()?
I came across such a plugin
I was interested in this key feature
The render method is never executed immediately. Triggered renders are collected and executed asynchronously in one batch.
Answer the question
In order to leave comments, you need to log in
This plugin uses a native observable which is not yet available in all browsers as far as I know. That is, it calls the render() or forceUpdate() function when the same observable says.
Look, it's pretty simple: easyState.js
Google: js native observable
Browser support:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question