feat!: migrate to esm only - #281
Conversation
|
We also see this library breaking in vite 8, but i don't think rewriting every import statement with |
|
I would say that the most important changes are in the |
|
Hi, is there an update on this issue? I am having to replace my imports like this but my workaround is not ideal. |
How would you ensure compatibility with CJS and ESM modules without renaming the imports suffixed with .js? |
|
@ilamuhil we dropped this library entirely for a simple, custom, no dependency implementation using This library is an antipattern to begin with; websocket data transport and react focus on two very different things in your frontend stack. |
Migrate the package to ESM only.
We are using your library, I am trying to use vite 8, and I ran into some interop issue.
This is a breaking change.
Thank you!