Load Rails Partials on Demand with New Toggle Feature in render_async 2.1.1
·Aug 19, 2019·
render_async now allows you to load partials by reacting with a specific HTML element.
If you want your partial to be loaded when a button is clicked or hovered over, you can specify that in new render_async 2.1.1 version
Also, you can start and stop polling a controller action with render_async using the new toggle feature.