|
|
|
|
|
by istoica
2381 days ago
|
|
Is there a way to trigger something after state changes ?
In the class based components, setState has a second argument that gets triggered after state has updated. This is nowhere to be found in the hooks approach, without using flags and other strange constructs. Where is it gone ? |
|