5 ms·
Life-cycle hooks typically run as side-effects from state changes, so that would be your route to do something similar.
by mrozbarry 3y ago
Life-cycle hooks typically run as side-effects from state changes, so that would be your route to do something similar.
- lf-non 3y agoIf I want to do something like initialize codemirror when my component attaches to dom, I need an event/hook for that. I can't do that solely based on state subscription?