Does React Router v4 support React 16 (Fiber)?

Viewed 1280

I am trying to migrate my app from React 15.6 to React 16. For now using React Router v2.8.1 and can`t compile build, because have an error with PropTypes.

TypeError: Cannot read property 'func' of undefined.

I know in React 16 PropTypes has moved in separate package.

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

2 Answers

Yes, it supports it. I use react 16 and react-router 4 in my project.

Related