Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use pushOnce builtin, remove custom pushonce directive #2301

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

mikerockett
Copy link
Contributor

@mikerockett mikerockett commented Jun 25, 2023

Description

This PR removes the custom pushonce Blade directive, and uses the pushOnce directive baked into Laravel 9 and 10 instead.

In order to reduce the chances of a sub-stack $id collision, I have prepended the two usages with form:. Perhaps it might be a good idea for me to open a PR against Laravel, which does not check if an $id is used in a specific stack, but rather across all stacks, which I don't think makes a lot of sense.

Related Issues

Resolves #2300

@mikerockett
Copy link
Contributor Author

I’ve also opened a PR for Laravel, though it can’t have any bearing on this PR unless it is also merged into 9.x.

@ifox ifox merged commit d1dc668 into area17:3.x Jan 24, 2024
@mikerockett mikerockett deleted the patch-for-2300 branch January 25, 2024 04:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blocks in block editor have vanished, but they do exist
2 participants