React-spring: Is there any way to temporarily be compatible with React v15?

Created on 9 Jan 2019  路  1Comment  路  Source: pmndrs/react-spring

My project depends on React v15 and it will take a long time to update to v16, so is there any way to temporarily be compatible with React v15?

question

Most helpful comment

15 -> 16 wasn't a big change for code-bases, just prop-types if i remember correctly (see: https://reactjs.org/blog/2017/09/26/react-v16.0.html). There's also a code-mod available.

From our side i think it would be quite the effort because it's using all the new lifecycles, return types, context and things like forwardRefs.

>All comments

15 -> 16 wasn't a big change for code-bases, just prop-types if i remember correctly (see: https://reactjs.org/blog/2017/09/26/react-v16.0.html). There's also a code-mod available.

From our side i think it would be quite the effort because it's using all the new lifecycles, return types, context and things like forwardRefs.

Was this page helpful?
0 / 5 - 0 ratings