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

feat: support react refresh runtime #40

Merged
merged 2 commits into from
Feb 23, 2021
Merged

feat: support react refresh runtime #40

merged 2 commits into from
Feb 23, 2021

Conversation

innocenzi
Copy link
Owner

@innocenzi innocenzi commented Feb 23, 2021

This PR adds support for injecting React's refresh runtime when using the @react directive. This directive must be positionned before the other ones.

A new directive was needed because there was no way of detecting the use of React from PHP.

Closes #32

@innocenzi innocenzi merged commit 006c691 into main Feb 23, 2021
@innocenzi innocenzi deleted the feat/react branch February 23, 2021 22:41
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

# 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.

Support React refresh
1 participant