observable-framework-jsx
JSX
Observable Framework documentation: JSX Source: https://observablehq.com/framework/jsx
React is a popular and powerful library for building interactive interfaces. React is typically written in JSX, an extension of JavaScript that allows HTML-like markup. To use JSX and React, declare a JSX fenced code block (```jsx). You can alternatively use a TSX fenced code block (```tsx) if using JSX with TypeScript.
For example, to define a Greeting component that accepts a subject prop:
```jsx
function Greeting({subject}) {
return <div>Hello, <b>{subject}</b>!</div>
}
```
More from spqw/skill-observable-framework
observable-framework-lib-deckgl
Using Deck.gl in Observable Framework for large-scale geospatial data visualization.
11observable-framework-lib-mapbox-gl
Using Mapbox GL JS in Observable Framework for vector tile maps.
4observable-framework-files
Working with files in Observable Framework — file attachments, file-based routing, and FileAttachment API.
3observable-framework-input-range
Range slider input component in Observable Framework — select a numeric value.
3observable-framework-lib-tex
Using TeX/LaTeX in Observable Framework for mathematical typesetting.
3observable-framework-input-date
Date picker input component in Observable Framework.
3