Posts with #reactContext

#reactContext

Public posts on X that use #reactContext.

Related hashtags

  1. 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
  2. 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
  3. 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
  4. 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
    Download
    0615
  5. 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
  6. 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
  7. Daishi Kato@dai_shi
    The dilemma with React Tracked Developers who want pure #ReactContext and #ReactHooks would hesitate adding a 3rd-party library. Developers who want a well-organized library/pattern should choose #React-#Redux. 😩
    023
  8. Muhammad Hammad Afzal@MHammadAfz99
    This code sets up a global context for user data with an initial state. The GlobalProvider component wraps the App, making user data accessible to all nested components. A simple authentication example where user info is shared seamlessly!#ReactContext #statemanagement #reactjs
    Download
    00442
  9. Show more posts