Closed MonicaOlejniczak closed 1 year ago
A continutation of https://github.com/atlassian-labs/react-resource-router/pull/145 with the following additions:
history
Router
MemoryRouter
createLocation
location
bootstrapStore
bootstrapStoreUniversal
history.location
props.location
A continutation of https://github.com/atlassian-labs/react-resource-router/pull/145 with the following additions:
history
prop required onRouter
as it being optional previously created no reason to useMemoryRouter
for testingRouter
with a memory history passed into itcreateLocation
functionlocation
intobootstrapStore
andbootstrapStoreUniversal
respectivelylocation
is always set tohistory.location
and thus goes unused in bootstrapStore and bootstrapStoreUniversalprops.location
fromRouter
and preferhistory