You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, you can't use the default export from a module that came from module_from_template.
Proposed Changes
The only option I see is to include a react-default-export template that includes the default export.
Implementation Details
I'd rather not duplicate code, so maybe we can have a VERY primitive templating language, where a line starting with $TEMPLATE: ... indicates that the contents of file to follow should be inserted at that point.
If the templates get any more complicated that this we should consider a different solution.
The text was updated successfully, but these errors were encountered:
Current Situation
Right now, you can't use the
default
export from a module that came frommodule_from_template
.Proposed Changes
The only option I see is to include a
react-default-export
template that includes the default export.Implementation Details
I'd rather not duplicate code, so maybe we can have a VERY primitive templating language, where a line starting with
$TEMPLATE: ...
indicates that the contents of file to follow should be inserted at that point.If the templates get any more complicated that this we should consider a different solution.
The text was updated successfully, but these errors were encountered: