fridays / next-routes

Universal dynamic routes for Next.js
MIT License
2.47k stars 230 forks source link

Object.assign crashes IE 11 #142

Closed fritz-c closed 1 year ago

fritz-c commented 6 years ago

My Next.js app keeps crashing in IE 11, and upon investigation I found out that the source of the issue was a direct call to Object.assign inside of valuesToParams.

It appears that there is an _extends function added for use of the object spread operator. Updating the statements to use the spread operator in place of Object.assign might be the simplest solution.