Beiträge mit #reactcontext

#reactcontext

Öffentliche Beiträge auf X, die #reactcontext verwenden.

Verwandte Hashtags

  1. LN✓@ln_dev7
    Hello les Devs, Dans cette vidéo nous verrons comment utiliser l' API Context de React avec un exemple pratique qui sera la création d'un système de changement de langue. #React #ReactContext #CaParleDev
    Herunterladen
    0615
  2. Daishi Kato@dai_shi
    Okay, I re-implemented react-hooks-global-state without using #ReactContext, but still having an experimental support for #ConcurrentMode. I hope it will be a good input for the community. #ReactJS #React #JavaScript #TypeScript
    Daishi Kato @dai_shi
    @sebmarkbage Is it correct to interpret this like the following? You don't need to use React Context if your app doesn't need multiple Context Providers. (This is actually what I imagined when I first read the docs. Hm.)
    111
  3. Daishi Kato@dai_shi
    @sebmarkbage
    @sebmarkbage Is it correct to interpret this like the following? You don't need to use React Context if your app doesn't need multiple Context Providers. (This is actually what I imagined when I first read the docs. Hm.)
    002
  4. Vixs ✨@vixs101
    #100DaysOfCode Challenge, Day 11: Today i learned about the "useContext" hook. here are some key things about it: 🎭 The Context of State Management: useContext allows you to access values from a React context...
    Vixs ✨ @vixs101
    #100DaysOfCode Challenge, Day 10: Still on React hooks, today i learned about the "useState" hook. here are some key things about it: 💡 State Management Made Simple: With useState, managing state in React functional components becomes a breeze. No need for class components for..
    104138
  5. Vixs ✨@vixs101
    #100DaysOfCode Challenge, Day 10: Still on React hooks, today i learned about the "useState" hook. here are some key things about it: 💡 State Management Made Simple: With useState, managing state in React functional components becomes a breeze. No need for class components for..
    106296
  6. Vixs ✨@vixs101
    @vixs101
    ... providing a clean and efficient way to manage state globally across components. It's like giving your components a shared language! 🔄💡 #ReactContext #GlobalState
    1014
  7. Vishakha Singhal@vishisinghal_
    @vishisinghal_
    2/ Higher-Order Components (HOCs) A function that takes a component and returns a new one. Example: Add auth logic to any page. const withAuth = (Component) => (props) => isLoggedIn ? <Component {...props} /> : <Login />; Great for reusing logic across many components.
    10328
  8. Vishakha Singhal@vishisinghal_
    @vishisinghal_
    3/ Context API vs Redux Context: for passing data (like theme, auth) without prop drilling Redux: for global state management (especially with complex state logic) Use Context for light sharing Use Redux/MobX/Zustand for heavy lifting #ReactContext #Redux #React
    10332
  9. Daishi Kato@dai_shi
    I drew a naive diagram to show the portion of three approaches in #React global state. If you say to builid your own with #ReactHooks and #ReactContext, it means you design everything. Very flexible, but not trivial. #Redux helps a lot. #ReactTracked some.
    Herunterladen
    Daishi Kato @dai_shi
    @acemarke I'd say, even if RR is just a wrapper around #ReactContext, #Redux ecosystem is more than that. All those documents based on best practices are valuable. Some of them are also applicable to non-Redux bare context-based solution. I mean, the portion of library itself is small.
    0719
  10. Daishi Kato@dai_shi
    @acemarke
    @acemarke I'd say, even if RR is just a wrapper around #ReactContext, #Redux ecosystem is more than that. All those documents based on best practices are valuable. Some of them are also applicable to non-Redux bare context-based solution. I mean, the portion of library itself is small.
    003
  11. Aniket Nayak 🌿@aniketnofficial
    @aniketnofficial
    🌟 Conclusion React Context is your secret weapon for global state management, offering a cleaner alternative to prop drilling. Embrace it, compose with it, and simplify your state management game! 🚀🌐 #React #Reacttools #reactjs #webdeveloper #FrontEnd
    10221
  12. Mehr Beiträge anzeigen