-
Notifications
You must be signed in to change notification settings - Fork 781
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
Fix props injection condition check for elements #4025
Conversation
It should exit if the injection is intended for elements (`isElement`) and if the current node is NOT an element.
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
🦋 Changeset detectedLatest commit: cf27ff0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@zbeyens I've been trying to inject attributes into elements render output, but couldn't. By inspecting the source code I've found this problem. Thank you 🙌 |
Looks good, thanks for the PR! |
It should exit if the injection is intended for elements (
isElement
) and if the current node is NOT an element.Checklist
yarn typecheck
— the command does not existyarn lint:fix
— the command does not existyarn test
yarn brl
— the command does not existyarn changeset