Closed harishtella closed 3 years ago
@zane Sorry for the delay on getting back. The truth is nothing here or in upcoming PR's is Observable specific. The upcoming component functions simply emit DOM-nodes. They could emit React components, but that will require some more work on my end to fully switch to in all our notebooks along with some more experimentation and research. Probably the next step.
In this PR, the build targets have observable in the name and so do some compiler-options filename. In a future PR these should be changed to js-components or something. But you'll see that when the components actually arrive in an upcoming PR, they are in a generic js namespace.
This adds the basic starting structure for later PRs that add UI components for use from Observable and js in general.
Mostly this adds a new build target (ns) for compiling the app for use from Observable.
How to test.
Run
make observable
to get a js-artifact with the new utils namespace and the js namespaces from other iql repos.It easily be tried out in a new observable notebook.