Closed tamb closed 4 years ago
Just have reviewed the PR. Currently it has conflicts. Could you clean it up and remove anything not related to the changed behavior itself?
@rumkin Question: Should this be onMounting
or onLoading
? And the fetching of the page is onFetch
?? What naming would you want?
Currently it would be
onMounting
onLoading
But I feel it should be onMounting/onLoading
and onFetch
@tamb Let's implement only onMounting
hook in this PR. I have some doubts about onFetch interface.
This hook fires before every content change. This way we can clean up any assets we may want to clean up before content changes.