File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ function App() {
2727}
2828```
2929
30+ :::info[ Note]
31+
32+ Component names must start with a capital letter to distinguish them from regular HTML elements.
33+ Otherwise, they won't be recognized as components.
34+
35+ :::
36+
3037## Component trees
3138
3239A web page is displayed by rendering a component tree, which is a hierarchical structure of components.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export const App = () => (
9999## Customizing Context Utilities
100100
101101When an application contains multiple context objects, it can be difficult to keep track of which context object is being used.
102- To solve this issue, you can create a custom utilities to create a more readable way to access the context values.
102+ To solve this issue, you can create a custom utility to create a more readable way to access the context values.
103103
104104For example, when wrapping a component tree, you may want to create a custom ` Provider ` component that can be used to wrap the component tree.
105105This also provides you with the option of re-using the ` Provider ` component in other parts of your application, if needed.
You can’t perform that action at this time.
0 commit comments