3 ms·
The library looks nice dx wise but complete lack of any lifecycle hooks is a bummer. I get that minimalism is the core theme but to use any js ui lib that is no
by lf-non 3y ago
The library looks nice dx wise but complete lack of any lifecycle hooks is a bummer. I get that minimalism is the core theme but to use any js ui lib that is not explicitly built around the same reactivity model you need to hook into component lifecycle.
- mrozbarry 3y agoLife-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?