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

Heart toggles #1238

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

Heart toggles #1238

wants to merge 3 commits into from

Conversation

Jberczel
Copy link

Hello! Sorry, I missed your last message. Here's a fresh PR to update favorite counts and heart animations.

First commit is to update favorite counts using turbo streams.

Second and third commits are two different ways of updating heart toggle: one by custom events and the other by Stimulus Outlets API.

My understanding is that custom events used to be idiomatic way to handle cross controller communications in Stimulus before they release Outlets API with Stimulus 3.2.

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.

None yet

1 participant