Understanding data flow #249
ghost
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It was a bit difficult to understand passing data doc so sharing my study note here
Data flow in components
Layout to its components
Slot insertions are bundled into a list and passed as an assign of the slot name. Slot attributes can be found as an element of the insertion map.
Component to its layout —
:let!
:let! can pattern-match and consume data assigned from component
Same applies to named ones
Beta Was this translation helpful? Give feedback.
All reactions