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

Add support for React #1304

Merged
merged 3 commits into from
Feb 13, 2025
Merged

Add support for React #1304

merged 3 commits into from
Feb 13, 2025

Conversation

LukeTowers
Copy link
Member

Adds:

  • viteReactRefresh() Twig & \System\Classes\Asset\Vite::reactRefreshTag() functions for support hot reloading with React & Vite
  • React as an asset bundle that can be passed to vite:create or mix:create

Still to add:

  • Support for React in the theme scaffolding

Adds:
- viteReactRefresh() Twig & \System\Classes\Asset\Vite::reactRefreshTag() functions for support hot reloading with React & Vite
- React as an asset bundle that can be passed to `vite:create` or `mix:create`
@LukeTowers LukeTowers requested a review from jaxwilko February 10, 2025 18:52
# Conflicts:
#	modules/system/classes/asset/Vite.php
@LukeTowers LukeTowers added the enhancement PRs that implement a new feature or substantial change label Feb 10, 2025
@LukeTowers LukeTowers added this to the 1.2.8 milestone Feb 13, 2025
@LukeTowers LukeTowers merged commit 53f10c6 into develop Feb 13, 2025
13 checks passed
@LukeTowers LukeTowers deleted the wip/add-react-support branch February 13, 2025 05:19
LukeTowers added a commit to wintercms/docs that referenced this pull request Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement PRs that implement a new feature or substantial change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant