All threads / Stimulus Reflex Lifecycle events

Ask A Question


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.

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

Rails.application.config.session_store :cookie_store, key: _my_app, domain:, 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

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.