Skip to content

[9.x] replace jQuery with vanilla JS#1166

Merged
taylorotwell merged 3 commits intolaravel:masterfrom
pataar:remove_jquery
Feb 19, 2025
Merged

[9.x] replace jQuery with vanilla JS#1166
taylorotwell merged 3 commits intolaravel:masterfrom
pataar:remove_jquery

Conversation

@pataar
Copy link
Contributor

@pataar pataar commented Feb 19, 2025

This removes the need of jQuery all together and replaces it with Vanilla JS calls.

It has a couple of advantages:

  • No update management of external libraries needed anymore
  • Should be more performant because jQuery isn't loaded anymore
  • Ensures that user-loaded jQuery libraries do not conflict (when the user loads an older jQuery version for example)

@pataar pataar marked this pull request as draft February 19, 2025 10:48
@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@crynobone
Copy link
Member

This is a breaking change, please retarget to master branch

@pataar pataar changed the base branch from 8.x to master February 19, 2025 10:53
@crynobone crynobone changed the title [8.x] replace jQuery with vanilla JS [9.x] replace jQuery with vanilla JS Feb 19, 2025
@pataar pataar changed the title [9.x] replace jQuery with vanilla JS Replace jQuery with vanilla JS Feb 19, 2025
@pataar pataar marked this pull request as ready for review February 19, 2025 10:53
@pataar
Copy link
Contributor Author

pataar commented Feb 19, 2025

Done!

@pataar pataar changed the title Replace jQuery with vanilla JS [9.x] eplace jQuery with vanilla JS Feb 19, 2025
@pataar pataar changed the title [9.x] eplace jQuery with vanilla JS [9.x] replace jQuery with vanilla JS Feb 19, 2025
@taylorotwell taylorotwell merged commit e947827 into laravel:master Feb 19, 2025
42 checks passed
@pataar pataar deleted the remove_jquery branch February 19, 2025 19:37
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.

3 participants