Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Ignore ref attr while generating virtual nodes#122

Merged
SantosGuillamot merged 1 commit intomain-wp-directives-pluginfrom
handle-ref-attributes
Dec 16, 2022
Merged

Ignore ref attr while generating virtual nodes#122
SantosGuillamot merged 1 commit intomain-wp-directives-pluginfrom
handle-ref-attributes

Conversation

@SantosGuillamot
Copy link
Copy Markdown
Contributor

As @DAreRodz suggested here, I'm ignoring the ref attribute while generating virtual nodes. This seems to solve the hydration error that sites with ref attributes were returning.

I am planning to add tests for this and other use cases in other PR.

Copy link
Copy Markdown
Member

@luisherranz luisherranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SantosGuillamot SantosGuillamot merged commit e00d50e into main-wp-directives-plugin Dec 16, 2022
@SantosGuillamot SantosGuillamot deleted the handle-ref-attributes branch December 16, 2022 11:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants