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
Currently, lifecycle events: onCreate, onUpdate and onRemove are "deferred", using setTimeout.
IIRC this had to do with CodeMirror not refreshing correctly when using editor.refresh(), and this made it work, but it could have been me not knowing how to use CM.
It seems like if this is a CM's quirk (or even if it wasn't), we could move this out of HyperApp anyway. Your 3rd party library's wrapper / CM wrapper could always DIY defer/setTimeout.
The text was updated successfully, but these errors were encountered:
Currently, lifecycle events: onCreate, onUpdate and onRemove are "deferred", using setTimeout.
IIRC this had to do with CodeMirror not refreshing correctly when using
editor.refresh()
, and this made it work, but it could have been me not knowing how to use CM.It seems like if this is a CM's quirk (or even if it wasn't), we could move this out of HyperApp anyway. Your 3rd party library's wrapper / CM wrapper could always DIY defer/setTimeout.
The text was updated successfully, but these errors were encountered: