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
we could start importing content sooner => improve FOUC
we could access the imported content before stamping in more gently way (default layouts for juicy-composition)
we could easier move imported-template-scope magic to separate component, that will plug-in to this
Risks/Doubts:
imported elements will be created before attached to main document, so if they well created with such assumption they mail fail (however it is a bad practice anyway)
flow may seem more tangled (however, I believe that with proper explanation in may be easy to get)
The text was updated successfully, but these errors were encountered:
Currently we do all the work (importing, fetching and stamping elements, attaching the model) on
attachedCallback
.What if we:
createdCallback
and every contentattributeChangeCallback
even when detachedcreatedCallback
, every modelattributeChangeCallback
, once new content is imported, before it's (re-)stamped.@warpech @miyconst WDYT?
Benefits:
juicy-composition
)imported-template-scope
magic to separate component, that will plug-in to thisRisks/Doubts:
The text was updated successfully, but these errors were encountered: