carloslfu / xstate-router

XState Router. Add routes to your XState machine.
MIT License
112 stars 16 forks source link

Add interpreter options #17

Closed ishabo closed 4 years ago

ishabo commented 4 years ago

The current setup does not allow passing interpreter options like {devTools: true} .. I need it to be able to use the xstate devtools https://chrome.google.com/webstore/detail/xstate-devtools/aamnodipnlopbknpklfoabalmobheehc?hl=en

I will make a PR to enable both routerMachine and useRouterMachine to have interpreterOptions passed.