Does React Router v4 support React 16 (Fiber)?

I'm trying to port my app from React 15.6 to React 16. For now, use React Router v2.8.1 and don't compile the assembly because there is a bug with PropTypes.

TypeError: Cannot read property 'func' of undefined.

      

I know that in React 16 PropTypes has moved to a separate package.

Does React Router v4 support React 16 (Fiber)? Should I update it?

+3


source to share


2 answers


Yes. react-router v4.1.2

Most of the warning errors and should be fixed from the new version React 16 beta

. It should work if you have resolved all the warning messages from 15.x.



+2


source


Yes, he supports him. I am using react 16 and react router 4 in my project.



0


source







All Articles