浏览代码

docs: updaet hooks

Jonathan Kelley 3 年之前
父节点
当前提交
8b402f946a
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 5 0
      docs/guide/src/SUMMARY.md
  2. 2 0
      docs/guide/src/interactivity/importanthooks.md

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

@@ -14,6 +14,11 @@
   - [Reusing, Importing, and Exporting](elements/exporting_components.md)
   - [Children and Attributes](elements/component_children.md)
   - [How Data Flows](elements/composing.md)
+- [Thinking Reactively]()
+  - [Thinking Reactively]()
+  - [Thinking Reactively]()
+  - [Thinking Reactively]()
+  - [Thinking Reactively]()
 - [Adding Interactivity](interactivity/index.md)
   - [Hooks and Internal State](interactivity/hooks.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.
 
+> These two hooks are not the only way to store state. You can always build your own hooks!
+
 ## Note on Hooks
 
 If you're struggling with errors due to usage in hooks, make sure you're following the rules of hooks: