Maxim Skibitskiy

Results 3 comments of Maxim Skibitskiy

I found that something happens with the React life-cycle within `useSprings`. There is `useIsomorphicLayoutEffect`, that should run with [updates](https://github.com/pmndrs/react-spring/blob/bbfc8be61648122c3a3526e25534d10911c81db4/packages/core/src/hooks/useSprings.ts#L204) array, that consist of config, callback and other props. `Updates` is...

I made hack to fix it in Next. You can edit sources of `useSprings`. Instead of `const updates = []` [here](https://github.com/pmndrs/react-spring/blob/bbfc8be61648122c3a3526e25534d10911c81db4/packages/core/src/hooks/useSprings.ts#L131) write this code: ``` const updatesRef = useRef([]) const...

Also I noted that app renders twice and it causes current problem. There is the easier way to make react-spring work – turn off the React strict mode (for React...