|
|
|
|
|
by akrumel
3007 days ago
|
|
Responding to "exists for a fairly rare use case" statement, I just searched the the web app I am currently writing and it uses componentWillReceiveProps() ~20 times. Most cases are for detecting changes requiring freeing/fetching network based resources where the data involved can get excessive if care is not taken. This would seem to be a common scenario for many domains. On a sidenote, I have thoroughly enjoyed working with react and RN over the last 4 years and have learned much from dan's work. Thanks guys. |
|
How many components do you have? Absolute number doesn’t tell me a lot. :-)
>Most cases are for detecting changes requiring freeing/fetching network based resources where the data involved can get excessive if care is not taken.
Not sure I fully understand. Could you provide a small example?