|
|
|
|
|
by marcosdumay
1798 days ago
|
|
Hum... Your new function reads all the checks, calculate the new values and enabled conditions, and applies them. It's called by the onChange of all of the relevant elements. Reactive frameworks do make your life simpler (at least once you pay for the large one time cost of using them), but the change isn't enormous. |
|
All you need to do is call setState