Sean Knowles
Sean Knowles2y ago

esm.sh

Are the Convex libraries importable from esm.sh? https://esm.sh/
ESM>CDN
A fast, smart & global CDN for modern(es2015+) web development.
4 Replies
ballingt
ballingt2y ago
Yeah! That's how I import convex/react here https://observablehq.com/@ballingt/hello-convex-beta
Observable
Hello Convex
How do you get shared, reactive server-side state for an Observable notebook? There are many ways: AWS, firebase, a slick solution from Tom Larkworthy — and now there's one more, Convex. You can sign up for the Convex at convex.dev. To use Convex in a webapp or from Node.js the standard npm install convex etc. is recommended, but in Observable...
ballingt
ballingt2y ago
I should remove the "beta" part now there we go, renamed to https://observablehq.com/@ballingt/hello-convex @Sean Knowles would love to hear what you're hoping to do with Convex bundled like this, we make an effort to provide appropriate bundles for a variety of environments (straight script tag, etc.) to enable more creative things
Sean Knowles
Sean KnowlesOP2y ago
@Tom as per our pm discussion earlier just reposting so others can ref our discussion: - esm imports work - fresh should work, waiting for someone to test it live - convex team happy to support Fresh/Deno issues if we run into any
ballingt
ballingt2y ago
Absolutely, @Sean Knowles I created a support channel post too https://discord.com/channels/1019350475847499849/1133358430892077166/1133358430892077166 but forgot to tell you about it We're interested in making any environment that runs JavaScript, can run websockets and can make HTTP requests able to run Convex functions.

Did you find this page helpful?