remix-run / history

Manage session history with JavaScript
MIT License
8.29k stars 960 forks source link

'createLocation' (imported as 'createLocation') was not found in 'history' #916

Closed code-masala closed 2 years ago

code-masala commented 2 years ago

Is createLocation name changed ? export 'createLocation' (imported as 'createLocation') was not found in 'history' (possible exports: Action, createBrowserHistory, createHashHistory, createMemoryHistory, createPath, parsePath)

export 'locationsAreEqual' (imported as 'locationsAreEqual') was not found in 'history' (possible exports: Action, createBrowserHistory, createHashHistory, createMemoryHistory, createPath, parsePath)

code-masala commented 2 years ago

Is there any alternative? As nothing is mention in documention about this breaking change