export vs "rebind"? #1552
Closed
amitu
started this conversation in
Ideas & RFCs
Replies: 1 comment
-
We no longer need this as it is implemented using system stuff. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When exporting a component defined in module, say
definer.ftd
fromexporter.ftd
, any references variables or components inside that component points to the original variables and components defined. Sometimes we want to "rebind" them to things defined inexporter.ftd
if they are present, else fall back todefiner.ftd
.Eg, say
definer.ftd
:bar
internally refers to the variablex
and componentfoo
.Now if we do this in
exporter.ftd
:We want
exporter.bar
to refer to exporter.x andexporter.foo
.Beta Was this translation helpful? Give feedback.
All reactions