docs(jaspr_router): Make it clear what type of data can be passed to the extra
parameter
#240
Labels
bug
Something isn't working
extra
parameter
#240
I've tried to push a route with a non primitive data in the
extra
parameter and got the errorUnimplementedError: structured clone of other type
. I figured out thatRouter.push
method is using thewindow.history.pushState
method and passes my model there which leads to the error aboveIt would be nice to mention that the
extra
parameter has some restrictionsPs. I've fixed the error by serializing my model to json string and passing this string to the
extra
parameterThe text was updated successfully, but these errors were encountered: