Ask A Question

Notifications

You’re not receiving notifications from this thread.

Stimulus Reflex Lifecycle events

Joseph A. asked in Gems / Libraries

could check this gist? it's an app wich use Stimulus Reflex. It's about a pagination reflex, the thing is i need to hide the spinner when afterReflex() callback is executed, but sometimes it doesn't works.

https://gist.github.com/matedemorphy/94c6ad13b6aebd89862b5b14120c98df

I have this line in config/initializers/session_store.rb

Rails.application.config.session_store :cookie_store, key: _my_app, domain: lvh.me, but then in development.rb

config.session_store :cache_store config.cache_store = :file_store, Rails.root.join(tmp, cache).to_s, { size: 320.megabytes }

it could some conflict there?

Reply

solved by adding data-id

Reply

Your article has brought a ton of valuable data for me, a debt of gratitude is in order for the extraordinary sharing. I will regularly circle back to your next posts, so kindly continue to give such helpful data.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.