Kaynağa Gözat

docs: updaet hooks

Jonathan Kelley 3 yıl önce
ebeveyn
işleme
8b402f946a

+ 5 - 0
docs/guide/src/SUMMARY.md

@@ -14,6 +14,11 @@
   - [Reusing, Importing, and Exporting](elements/exporting_components.md)
   - [Reusing, Importing, and Exporting](elements/exporting_components.md)
   - [Children and Attributes](elements/component_children.md)
   - [Children and Attributes](elements/component_children.md)
   - [How Data Flows](elements/composing.md)
   - [How Data Flows](elements/composing.md)
+- [Thinking Reactively]()
+  - [Thinking Reactively]()
+  - [Thinking Reactively]()
+  - [Thinking Reactively]()
+  - [Thinking Reactively]()
 - [Adding Interactivity](interactivity/index.md)
 - [Adding Interactivity](interactivity/index.md)
   - [Hooks and Internal State](interactivity/hooks.md)
   - [Hooks and Internal State](interactivity/hooks.md)
   - [UseState and UseRef](interactivity/importanthooks.md) 
   - [UseState and UseRef](interactivity/importanthooks.md) 

+ 2 - 0
docs/guide/src/interactivity/importanthooks.md

@@ -7,6 +7,8 @@ Most components you will write in Dioxus will need to store state somehow. For l
 
 
 Both of these hooks are extremely powerful and flexible, so we've dedicated this section to understanding them properly.
 Both of these hooks are extremely powerful and flexible, so we've dedicated this section to understanding them properly.
 
 
+> These two hooks are not the only way to store state. You can always build your own hooks!
+
 ## Note on Hooks
 ## Note on Hooks
 
 
 If you're struggling with errors due to usage in hooks, make sure you're following the rules of hooks:
 If you're struggling with errors due to usage in hooks, make sure you're following the rules of hooks: