Open tylerchilds opened 2 years ago
Thanks for doing this. Does this now work with esm in the browser? In node?
I'm hoping we can find a way that's also compatible with the old style of loading code, script tags in browsers, and require() in node.
I was able to make braid-http work with both esm and require on nodejs, but I haven't gone as far as to make it work with esm in browsers. I suspect it might need a simple transpilation step.
Or maybe I shouldn't be trying to make this work via <script>
tags. I haven't thought that through. Maybe you have.
We should be able to write it in the latest ESM and then we can transpile out compatible versions for other runtimes.
I've got some in flight progress on getting tag using statebus here: https://github.com/tylerchilds/tag/pull/2
this is the current work for getting statebus ready for esm and ripping out the react dependencies.