Implement lifecycle hooks #16
Comments
@tomdale how about a |
@habdelra those are likely to come out of an RFC |
@tomdale For my purposes I need a hook for after the DOM has been updated (we were calling this My use case is that I'm using a Looking at what you have above, it looks like you are proposing a Here's a simple little glimmerjs project demonstrating this: https://github.com/habdelra/glimmerjs-didUpdate-hook EDIT: I actually logged this issue as: #51 |
I would also need some kind of |
This repo has been merged with glimmerjs/glimmer.js (into a monorepo setup). I am not sure if this issue is still applicable, but if you could confirm it is still an ongoing concern and open it over there that would be very helpful. Sorry for the noise, but thank you for your help! |
didInsertElement
(no)this.element
yet due to Glimmer bugdidRender
didUpdate
willDestroy
The text was updated successfully, but these errors were encountered: