Skip to content

perf: improve VNode creation performance with compiler hints #3334

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

Merged
merged 16 commits into from
Jun 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix snapshots
  • Loading branch information
HcySunYang committed May 28, 2021
commit c2ab22fef7854e4497104a0d7b899b199f4cb246
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\"div\\", null, \\"hello\\"
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\"div\\", null, \\"world\\", -1 /* HOISTED */, null, 9 /* ELEMENT, TEXT_CHILDREN */)
_popScopeId(null)

export function render(_ctx, _cache) => {
export function render(_ctx, _cache) {
return (_openBlock(), _createElementBlock(\\"div\\", null, [
_hoisted_1,
_createTextVNode(_toDisplayString(_ctx.foo), 1 /* TEXT */),
Expand Down Expand Up @@ -78,5 +78,5 @@ export const render = /*#__PURE__*/_withId((_ctx, _cache) => {
]),
_: 1 /* STABLE */
}))
})"
}"
`;