2 Matching Annotations
- Nov 2019
-
stackoverflow.com stackoverflow.com
-
It makes sense that the incoherent render would not be committed to browser and that it would not have any consequences most of the time. But that means that you render logic must be ready to manage incoherency between props and states without crashing. E.g. a list of resource ids in props that doesn't match a list of http requests from a previous id list in the state could lead to weird situations. This is a worry that didn't exist in class components.
-
But that means that you render logic must be ready to manage incoherency between props and states without crashing
-