 
      
    | You are here | realfiction.net | ||
| | | | | scastiel.dev | |
| | | | | Thanks to a recent evolution in mobile and desktop operating systems, it is more and more common for users to expect two UI themes for apps and websites: a light one and a dark one. In this article we'll see how it is possible to offer two themes in your React application, using the one the user prefers by default. | |
| | | | | www.rasikjain.com | |
| | | | | Introduction: React, being a popular JavaScript library for building user interfaces, provides various tools and features to handle state management. One such feature is useContext, which allows developers to share state across different components without prop drilling. In this blog post, we will explore the useContext feature in React and demonstrate its usage with a TypeScript example. Understanding useContext: The useContext hook is part of the React library and allows components to consume values fr... | |
| | | | | alexsidorenko.com | |
| | | | | How useMemo can help you prevent unnecessary re-renders. | |
| | | | | alexop.dev | |
| | | Learn to build a Vue-like reactivity system from scratch, implementing your own ref() and watchEffect(). | ||