It's my understanding that orange-js doesn't want users to require installing react-router separately, which is why it re-exports everything from react-router.
Unfortunatley, this means that data is overridden by orange-js, which is used when throwing errors within loaders:
https://reactrouter.com/how-to/error-boundary#3-throw-data-in-loadersactions
Should orange-js rename it's data function? Or maybe re-export react under @orange-js/orange/react-router?
It's my understanding that orange-js doesn't want users to require installing react-router separately, which is why it re-exports everything from react-router.
Unfortunatley, this means that
datais overridden by orange-js, which is used when throwing errors within loaders:https://reactrouter.com/how-to/error-boundary#3-throw-data-in-loadersactions
Should orange-js rename it's
datafunction? Or maybe re-export react under@orange-js/orange/react-router?