Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register rails_chart_function in Turbo Frame event #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alejanderl
Copy link

Hey,
thanks for your library. It's working really good for us.
We found that, in our case, we need the lazy load behavior since we are heavily relying in turbo frames.
I saw the comment in #17 and with this setup the rails_charts_ init function are de-registered so we can see that the function is, effectively, not triggered in the next turbo frame response.

I hope this would work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant