https://github.com/malloydata/malloy-render-react
React wrapper for the Malloy renderer
https://github.com/malloydata/malloy-render-react
Last synced: 6 months ago
JSON representation
React wrapper for the Malloy renderer
- Host: GitHub
- URL: https://github.com/malloydata/malloy-render-react
- Owner: malloydata
- License: mit
- Created: 2024-05-02T01:27:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T13:35:33.000Z (about 2 years ago)
- Last Synced: 2025-01-21T05:09:06.805Z (over 1 year ago)
- Language: TypeScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Malloy Render React components
## \
A React component for rendering Malloy results. Takes either a `result` object or a combination of `queryResult` and `modelDef`:
```javascript
```
## Malloy DuckDB WASM Hooks
Malloy models can be run locally in the browser using the following components and hooks
- ``: provides a context for setting up a model
- `useMalloyModel()`: hook for accessing Malloy model runtime within MalloyModelProvider
- `useMalloyQuery(queryString)`: hook for executing a Malloy query from model within MalloyModelProvider context