Nate Roberts

Joined

20 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Adding Turbo Frame Test Helpers Discussion

thanks for sharing!

It’s working correctly on the backend — the counter_culture gem updates the wishlists_count in the DB — but Stimulus is just reading the initial value from the HTML on page load, so it won’t update automatically after an AJAX action unless you explicitly update the DOM value in JS after the request. It's a lot like https://animeflix.city/ Fast Payout Casinos: the backend processes everything quickly and efficiently, but unless the frontend (or the player) sees the updated balance, it feels like nothing has changed. Keeping both in sync is key to a seamless experience!