Skip to content

Commit

Permalink
docs: updated lite component doc (QwikDev#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykou authored Sep 10, 2022
1 parent 39f05c1 commit b6244f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const MyApp = component$(() => {
In the above example, the `MyButton` is a lite component. Lite components' lazy loading is merged with the regular component they are part of. In this case:

- `MyButton` will get bundled with the `MyApp` render function.
- `MyButton` Whenever the render function of `MyApp` executes, it will also force the execution of `MyButton`.
- Whenever the render function of `MyApp` executes, it will also force the execution of `MyButton`.
- `MyButton` does not have a host element.

You can think of lightweight components as being inlined into the component, where they are instantiated.

0 comments on commit b6244f6

Please sign in to comment.