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
It would be nice if the JSX transformer had an event that you could listen for in order to know when all scripts have been done processing. In development mode, my pattern is to treat external js files as libraries and call them from HTML templates in script blocks. However, if I do this with JSX, I don't know when they've been processed yet.
The text was updated successfully, but these errors were encountered:
I recommend that you not use JSXTransformer for any serious development, if you can, use the jsx --watch tool instead. Anyway, you're not wrong, although I imagine that the best solution would be to override the DOMContentLoaded event instead (if possible... it just might be) so that you do not require special code when JSXTransformer is used.
But otherwise, it seems like a DOMAndJSXContentLoaded-event should be added, yep.
It would be nice if the JSX transformer had an event that you could listen for in order to know when all scripts have been done processing. In development mode, my pattern is to treat external js files as libraries and call them from HTML templates in script blocks. However, if I do this with JSX, I don't know when they've been processed yet.
The text was updated successfully, but these errors were encountered: