Skip to content

Commit

Permalink
docs: reworded; added punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
sajebehari committed Jun 10, 2024
1 parent 2aa1772 commit 2160307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/routes/docs/(qwik)/faq/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const NoStructuralChange = component$(() => {
});
```

Qwik will use vDOM when the change is structural. In the following example the DOM structure needs to be updated (replace `<h1>` with `<button>`) and so vDOM will be used for rendering:
When there is a structural change, Qwik utilizes the virtual DOM (vDOM). In the following example, the DOM structure needs to be updated (replace `<h1>` with `<button>`), so vDOM will be used for rendering:
```ts title="DOM structure change"
export const StructuralChange = component$(() => {
const isLoggedIn = useSignal(false);
Expand Down

0 comments on commit 2160307

Please sign in to comment.