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

Alpine 3, Laravel ^8.47, and Turbo v7.0.0-beta.7 #25

Merged
merged 7 commits into from
Jun 17, 2021
Merged

Conversation

tonysm
Copy link
Collaborator

@tonysm tonysm commented Jun 17, 2021

Added

  • Adds the broadcastAfter and broadcastBefore methods as well as the broadcastAfterTo and broadcastBeforeTo to the Broadcasts trait
  • Adds the before() and after() methods to the Turbo Stream response builder, so you can do things like response()->turboStream()->before($model, 'dom_id')

Changed

  • Change the installation to make sure Alpine 3 is installed, and add the snippet that Caleb shared
  • Change the installation to make sure Turbo ^7.0.0-beta.7 is installed
  • Require Laravel ^8.47 so I can use the scoped instances for the turbo helper, instead of Singleton
  • Updated the documentation to mention the new broadcast methods and remove reference to the alpine bridge

closes #24 #23

@tonysm tonysm changed the title Updates and tweaks Alpine 3, Laravel ^8.47, and Turbo v7.0.0-beta.7 Jun 17, 2021
@tonysm tonysm merged commit 1ee49ac into main Jun 17, 2021
@tonysm tonysm deleted the updates-and-tweaks branch June 17, 2021 01:55
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.

[Feature] Implement the new "before" and "after" Turbo Stream actions
1 participant