Execute code on hot reload - Trending News Live

Trending News Live

Breaking

Post Top Ad

Responsive Ads Here

Saturday 28 October 2017

Execute code on hot reload

Is there some way we can have some code executed whenever a hot reload occurs. Say a method in the life cycle of a widget, or a function we can register with the system.

That way I can have this method reload a few things that usually Hot Reload doesn't catch? Such as initially loaded data.



No comments:

Post a Comment

Pages