Соснин Алексей

Results 11 comments of Соснин Алексей

> Can you explain why that would not be sufficient? useCallback is sugar on top of useMemo, but why did we add useCallback when there is already useMemo? Because useCallback...

@gaearon Effects have a handy "effect undo" ability ```js const ref = useRef(null) useEffect(()=> { const observer = new ResizeObserver() observer.observe(ref.current) return () => { observer.disconnect() } }, [ref.current]) return...

@bvaughn ```js const ref = useRef(null); useEffect(() => { const observer = new ResizeObserver(); observer.observe(ref.current); return () => { observer.disconnect(); }; }, [ref.current]); // we don't know when child will...

@bvaughn Why don't we increase the level of abstraction and convenience, and not just use a closure to store the variables needed for cleaning, This is my suggestion =) Compare...

@heyuuuu Перевыполнение функции компонента не вызывает рендеринг, у вас плохое представление об устройстве React (а еще, желательно писать на языке мира - на английском языке)

Discussion of a slightly more global concept of leaving runtime. https://github.com/styled-components/styled-components/issues/3249

temp solution: `pip install virtualenv` but this is still a bug and virtualenv should install automatically by script

> so you mean something like this? exactly =) > names can easily break javascript conventions. ```ts export const models = { Arms: () => { const { nodes, material...

> What OS are you using? > (Estrella uses Nodejs's child_process module and process groups on POSIX systems to allow for process tree control) windows 10 of course

Why you not use this code in windows platforms? =) This fix works on me: ```js let childProcess = null estrella.build({ onEnd: () => { if (childProcess) { childProcess.kill('SIGINT') }...