Skip to content

Embedding in cljs/react/reagent app #166

Answered by metasoarous
Ramblurr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Ramblurr. Thanks for asking about this, and sorry for just not getting around to responding sooner.

The answer to this is a little complicated, so I'm moving this issue to a discussion, and will be forking off some issues from it.

It's been for quite a while possible for the vega visualization to respond to changes in react/reagent state (just use the oz/vega and oz/vega-lite reagent components as usual, basically). The downside of this is that it does require complete rerendering the visualization, which for larger datasets where just one or two data points (or other signal data) needs to change, could incur a more significant performance cost than we'd like. The vega view api does o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by metasoarous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #147 on October 03, 2021 22:35.