Closed sunfmin closed 7 years ago
Page Handler will identify it’s a Reloadable
Another way to do it is to have func reloading.Reloadable(Page) Page
that takes the list of containers generated by the page and always adds the reload script container to the end.
@bodhi This time it's clean, ;-), Page interface is powerful too.
ready for production!
Page Handler will identify it’s a Reloadable, and automatically wrap it, and add ReloadableScript to the end of the page.