BeaconCMS / beacon

Open-source content management system (CMS) built with Phoenix LiveView. Faster render times to boost SEO performance, even for the most content-heavy pages.
https://beaconcms.org
MIT License
1.04k stars 101 forks source link

add guide for on_mount and handle_info #599

Closed djcarpe closed 1 month ago

djcarpe commented 1 month ago

After getting help in the beacon slack, I promised to add a guide for on_mount and handle_info within a given page.

The example is simple just adding a constantly updating clock.

Let me know if you have a better idea of how to show this feature and to let it shine.

Thanks!

djcarpe commented 1 month ago

Thanks for the feedback! I committed your suggestions. I can clean up and reread this weekend or feel free to merge if you’re happy with it.

leandrocp commented 1 month ago

Documentation is a never-ending job :) This version is already great. Thanks!