This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Commit c6aaeca
committed
Inherit root state when rendering a <Symbol /> component
The issue we were having:
When a symbol component is being created, it can reference the `bindings`
of the page it's on. However, when the symbol is actually inserted in
the page, the bindings can no longer be referenced.
This is because the root state of the application wasn't being passed
down to the symbol. We pass our custom bindings to the builder component
we render, and all child components use those bindings from the page's
root state. However, when the boundary between a page and a symbol is
crossed, those bindings weren't being passed down.1 parent 10d3ad6 commit c6aaeca
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments