jamespatrickgibson / union

A design system boilerplate for Svelte & CSS
http://www.designwithunion.com
2 stars 2 forks source link

fix(docs): Box example reactivity #40

Closed peterbsmyth closed 4 years ago

peterbsmyth commented 4 years ago

uses <Prism source={exampleElement}> so that the view is up-to-date with the data model. before the fix it would show the previously computed value

jamespatrickgibson commented 4 years ago

Nice fix!