observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.13k stars 85 forks source link

Allow JSX’s import source (`npm:react`) to be configured #1465

Open mbostock opened 2 weeks ago

mbostock commented 2 weeks ago

We should expose the equivalent of esbuild’s jsxImportSource so that you can use a different React-compatible library such as Preact, or simply so you can use react from node_modules instead of npm:react.