stevenpetryk / mafs

React components for interactive math

Home Page:https://mafs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mafs in observable?

saludes opened this issue · comments

I'd love to see mafs working in Observable but the standard require doesn't seem to work.
I've tried some of the ideas in https://observablehq.com/@observablehq/how-to-require-stubborn-modules to no avail.

Care to write a minimal working example there?

I think that'd be neat, however, it looks like using JSX in Observable is not a first-class thing: https://observablehq.com/@mbostock/hello-jsx. This is tangentially related to #89 because both relative to how Mafs doesn't have a UMD build.

At the moment it's super unclear to me what Observable needs.