render_async
render_async copied to clipboard
render_async lets you include pages asynchronously with AJAX
Hi, I am using async_cache to load the sidebar, with an event_name setup to do post processing. ``` Loading... ``` This works the first time the page is loaded. Once...
I'd like to set something up similar to the retry_delay so that I can wait a few seconds before certain asynchronous calls are made. My example use case is that...
Use case: Utilizing responsive principles, different elements of my page are hidden/shown depending on the screen size. As render_async works now, my page fetches all the elements at page load...
First of all, thanks for the work on the lib :) I have the following situation: I'm running a script in the background and want to poll for the logs....
Hi ! I'm trying to handle more than one render_async in a single page and my site works with Turbolinks. My render_async renderer have a `container_id` set as "render_async_{id}" to...
Hi! 👋 Very cool gem. It's quite possible that I'm misunderstanding the intent, so this may not be a bug. Whenever I re-visit a Turbolinks page that has a `render_async`...
Rendering with ActiveJob & ActionCable would allow for long performing background jobs to push view content when finished. **Rough Flow:** 1. Render async called in view, which also creates ActionCable...
The parent async templates are working great (and love the gem, btw)! Started to have the need for nested async templates and followed the instructions to the T, including the...
If user doesn't have jQuery on the page, `render_async` fetches request using plain JavaScript. Problem with this is that `` tags don't get executed when appended to HTML. Problem is...
just a suggestion that might be added to the documentation. i'm using render async with this pattern: i'm rendering the existing partials by adding paths and methods that just render...