-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Description
Version
4.1.1
Test Case
https://codesandbox.io/s/jz97zr9z0v
Steps to reproduce
import { generatePath } from 'react-router';- Try to use
generatePath
Expected Behavior
Importing generatePath from react-router gives me access to the generatePath function, which accepts a path template string and params and then returns a compiled path.
Actual Behavior
generatePath is undefined because it is not part of the main exports in index.js.
Metadata
Metadata
Assignees
Labels
No labels