You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, there's no way to render on page load when using the toggle feature. Adding this is the next thing I am going to work on.
You could get some ideas the controlled polling example. But I think it's best to wait for the new feature that will allow you to do so. If you have any ideas, PRs are appreciated.
Hey, @davissp14. I recently added a feature where you can dispatch an event with the name "refresh" on the render_async container. There is more information in the 2.1.8 release and docs here. Is this something you were looking for?
Let me know if it works for you. In the meantime, I will close the issue. Looking forward to your response, cheers 🍻
So I am looking to achieve to what I can best describe as an "event driven reload".
Example Use-case:
A list of students is rendered on page load and a button is presented to the end-user that will allow them to refresh that list.
--
I do see that there's
toggle
functionality available, however, the event selector seems to gate-keep the initial render.Is there currently any path for rendering on page load and leveraging events to trigger subsequent renders?
The text was updated successfully, but these errors were encountered: