Updating v2 glossary#7356
Open
thejackshelton-kunaico wants to merge 5 commits intoQwikDev:build/v2from
Open
Conversation
Extended terminology
|
commit: |
Contributor
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Varixo
reviewed
Sep 30, 2025
| - VNode: A layer on top of DOM which can be deserialized from SSR, and which understands Virtual Nodes and properties on those nodes. | ||
| - DOM: The actual browser DOM. | ||
|
|
||
| vNodes are Qwik's translation layer between your JSX and the actual HTML. They act like sticky notes, helping Qwik track and manage changes efficiently. |
Member
There was a problem hiding this comment.
I dont like the "sticky notes" they are more like wrappers
| - `jsxNode`: What you want your component to look like (input) | ||
| - `vStartNode`: A snapshot of what your component currently looks like (output) | ||
|
|
||
| > The diff only looks at the specific component or signal being updated, not the entire page. |
Member
There was a problem hiding this comment.
it depends on what was changed actually. For CSR render we look at the entire page :D
|
|
||
| // varProp example with store | ||
| const store = useStore({ text: 'hello' }); | ||
| <Button text={store.text} />; // store property reference can change |
Member
There was a problem hiding this comment.
this is still const prop I think. if you do spread operation then for sure it will be var prop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extended terminology. Maybe a better place to put this?
What is it?
Description
Checklist
pnpm change