Hi,
firstly, thank You for maintaining various react-router/remix related utilities.
I noticed that the devtools injection seems to assume a direct export style. Instead of direct exports, I group them at the end of the file for consistency reasons, but that seems to break the devtools plugin injection with the following error:
Identifier 'loader' has already been declared.
Here is a minimal stackblitz reproduction.