Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Malloy Render React components

<MalloyRender />

A React component for rendering Malloy results. Takes either a result object or a combination of queryResult and modelDef:

<MalloyRender result={result} />

<MalloyRender queryResult={queryResult} modelDef={modelDef} />

Malloy DuckDB WASM Hooks

Malloy models can be run locally in the browser using the following components and hooks

  • <MalloyModelProvider script={modelScript} />: 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

About

React wrapper for the Malloy renderer

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages