New Discussion

Notifications

You’re not receiving notifications from this thread.

Stimulus Reflex Lifecycle events

2
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?

solved by adding data-id

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.

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.