使用者工具

網站工具


computer:program:js:react

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版前次修改
下次修改
前次修改
computer:program:js:react [2025/06/20 05:46] – [工具] wmcomputer:program:js:react [2025/10/28 06:47] (目前版本) – [Reference] wm
行 87: 行 87:
 ====States==== ====States====
   * [[https://dev.to/davidkpiano/no-disabling-a-button-is-not-app-logic-598i|No, disabling a button is not app logic.]]   * [[https://dev.to/davidkpiano/no-disabling-a-button-is-not-app-logic-598i|No, disabling a button is not app logic.]]
 +  * [[https://tkdodo.eu/blog/use-state-for-one-time-initializations|useState for one-time initializations]]
   * [[https://github.com/jamiebuilds/unstated|Unstated]]   * [[https://github.com/jamiebuilds/unstated|Unstated]]
   * [[https://github.com/theKashey/memoize-state|memoize-state]]   * [[https://github.com/theKashey/memoize-state|memoize-state]]
行 95: 行 96:
 ====Context==== ====Context====
   * [[https://leewarrick.com/blog/the-problem-with-context/|The Problem with React's Context API]]   * [[https://leewarrick.com/blog/the-problem-with-context/|The Problem with React's Context API]]
 +==== Suspense ====
 +  * [[https://suspensive.org/|Suspensive]]
 ==== Reference ==== ==== Reference ====
   * [[https://jaketrent.com/post/fallback-ref-react/|Fallback Ref in React]]   * [[https://jaketrent.com/post/fallback-ref-react/|Fallback Ref in React]]
行 101: 行 104:
   * [[https://github.com/davidkpiano/useeffectreducer|useEffectReducer]]   * [[https://github.com/davidkpiano/useeffectreducer|useEffectReducer]]
   * [[https://github.com/rauldeheer/use-async-effect|useAsyncEffect]]   * [[https://github.com/rauldeheer/use-async-effect|useAsyncEffect]]
-  * [[https://kentcdodds.com/blog/dont-call-a-react-function-component|Don't call a React function component]] 
   * [[https://usehooks.com/|useHooks]]   * [[https://usehooks.com/|useHooks]]
   * [[https://observable-hooks.js.org/|Observable Hooks]]   * [[https://observable-hooks.js.org/|Observable Hooks]]
 +=== Tip ===
 +  * [[https://kentcdodds.com/blog/dont-call-a-react-function-component|Don't call a React function component]]
 +  * [[https://kentcdodds.com/blog/usememo-and-usecallback|When to useMemo and useCallback]]
 ====Components==== ====Components====
   * [[https://medium.com/@dan_abramov/react-components-elements-and-instances-90800811f8ca|React Components, Elements, and Instances]]   * [[https://medium.com/@dan_abramov/react-components-elements-and-instances-90800811f8ca|React Components, Elements, and Instances]]
行 206: 行 211:
   * [[https://recoiljs.org/|Recoil]]   * [[https://recoiljs.org/|Recoil]]
   * [[https://github.com/pmndrs/zustand|zustand]]   * [[https://github.com/pmndrs/zustand|zustand]]
 +    * [[https://tkdodo.eu/blog/zustand-and-react-context|Zustand and React Context]]
   * [[https://github.com/LFSCamargo/tunnel|Tunnel]]   * [[https://github.com/LFSCamargo/tunnel|Tunnel]]
   * [[https://github.com/cassiozen/useStateMachine|useStateMachine]]   * [[https://github.com/cassiozen/useStateMachine|useStateMachine]]
computer/program/js/react.1750398383.txt.gz · 上一次變更: 2025/06/20 05:46 由 wm