fix(ssr): avoid rendering reserved internal keys in output (#5564)

fix #5563
This commit is contained in:
Anthony Catel
2022-04-14 04:03:17 +02:00
committed by GitHub
parent f641c4b228
commit cc238cdb8e
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ describe('ssr: renderAttrs', () => {
expect(
ssrRenderAttrs({
key: 1,
ref_key: 'foo',
ref_for: 'bar',
ref: () => {},
onClick: () => {}
})