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
I was thinking also that I need both the compiled code and the parsed document, so maybe the compile function could return both?
I think that extracting that code would be more explicit and clear, but either approach would work
I saw that the compiler returns in "fragments" the output of the parser, so there's no need to do the parsing twice, but I don't think it will be bad to have the possibility to compile an already parsed document.
Wouldn't it be possible to extract this code from the
compile
function and create a separated function to compile an already parsed component?The text was updated successfully, but these errors were encountered: