Without understanding the source, I tried to faithfully recreate the logic using spread operator syntax. I am not sure how to test each of the functions that was changed, so I suggest looking over it carefully. It at least seems ok with pushRoute in my app, and IE 11 is now happy.
Fixes https://github.com/fridays/next-routes/issues/53.
Without understanding the source, I tried to faithfully recreate the logic using spread operator syntax. I am not sure how to test each of the functions that was changed, so I suggest looking over it carefully. It at least seems ok with
pushRoute
in my app, and IE 11 is now happy.