8 रिपॉजिटरी
Reusable state management patterns such as counters, lists, and synchronized storage for React.
Distinct from Complex State Management: The candidates focus on CSS-only state, store-based complex data, or memory cleanup rather than reusable hook primitives
Explore 8 awesome GitHub repositories matching web development · React State Primitives. Refine with filters or upvote what's useful.
react-use is a collection of reusable state and effect hooks for managing common logic in React applications. It serves as a comprehensive library for implementing state management patterns and wrapping various browser APIs into consistent hook interfaces. The project provides a specialized toolkit for DOM interaction and browser API integration, allowing components to track element dimensions, manage cookies, and monitor hardware sensors. It includes a suite of animation and timing utilities for physics-based numeric interpolation and frame-synced state updates. Beyond basic state managemen
Implements complex state patterns including counters, lists, and local storage synchronization via hooks.
This project is a collection of practical code samples and demonstrations for building user interfaces with React. It serves as a set of examples illustrating common interface patterns, state management techniques, and the implementation of modular, reusable components. The repository provides specific demonstrations for several core development areas. These include samples for retrieving and rendering asynchronous data from external APIs, managing component lifecycles during mounting and unmounting, and handling internal state to sync form inputs. It also includes guides for direct document
Provides interactive examples of syncing form inputs with internal state to trigger UI re-renders.
This project is an educational course and a collection of frontend projects designed to teach the core concepts and architecture of the React library. It serves as a practical guide for building modular user interfaces through a series of hands-on project builds. The repository includes a technical implementation of a custom React renderer, demonstrating how to transform JSX elements into a document object model. It further provides examples of state management, specifically illustrating how to share global data across a component tree using the provider pattern to avoid property drilling. T
Demonstrates the use of reusable state management patterns to distribute data across a component tree.
Downshift is a headless UI component library and framework for React that provides the state and interaction primitives necessary to build accessible autocomplete, combobox, and select dropdown components. It functions as a WAI-ARIA UI framework, generating the required ARIA attributes and keyboard event handlers to ensure screen reader compliance without providing any default styling. The library utilizes a headless component pattern to decouple interaction logic from the visual presentation. It manages complex state transitions through reducers and synchronizes internal UI state with extern
Ships reusable React state primitives and hooks for synchronizing internal UI state with external data.
usehooks-ts is a comprehensive collection of reusable TypeScript-based hooks designed for managing state, DOM events, and browser API interactions within React applications. It provides a typed library of functions to handle common frontend patterns and side effects. The project distinguishes itself by offering specialized hooks for browser integration, including tools for interacting with the system clipboard, managing local and session storage persistence, and loading external scripts. It also includes utilities for responsive UI development, such as tracking media queries, window dimension
Provides reusable state management primitives for common patterns like counters and toggles.
Precedent एक Next.js एप्लिकेशन स्टार्टर और कंपोनेंट लाइब्रेरी है जो प्रोडक्शन-रेडी वेब इंटरफ़ेस बनाने के लिए पूर्व-कॉन्फ़िगर किए गए टूल्स और प्रिमिटिव्स का एक आधारभूत सेट प्रदान करती है। यह इंटीग्रेटेड ऑथेंटिकेशन, एनालिटिक्स और ओपिनियनेटेड UI कंपोनेंट्स के संग्रह के साथ एप्लिकेशन को बूटस्ट्रैप करने के लिए एक टूलकिट के रूप में कार्य करती है। यह प्रोजेक्ट अपने Tailwind CSS UI किट के माध्यम से खुद को अलग बनाता है, जो पॉलिश किए गए इंटरफ़ेस बनाने के लिए एक्सेसिबिलिटी प्रिमिटिव्स और मोशन लाइब्रेरीज़ को जोड़ता है। इसमें नेटवर्क एज पर डायनामिक सोशल शेयरिंग इमेज और प्रीव्यू विज़ुअल्स को प्रोग्रामेटिक रूप से बनाने के लिए एक सर्वर-साइड इमेज जनरेटर शामिल है। यह लाइब्रेरी क्षमताओं की एक विस्तृत श्रृंखला को कवर करती है, जिसमें यूजर ऑथेंटिकेशन और सेशन मैनेजमेंट के लिए थर्ड-पार्टी आइडेंटिटी एकीकरण, विज़िटर मेट्रिक्स को ट्रैक करने के लिए प्राइवेसी-फ़ोकस्ड वेबसाइट एनालिटिक्स, और क्लाइंट-साइड स्टेट, लोकल स्टोरेज व एलिमेंट विज़िबिलिटी को मैनेज करने के लिए कस्टम React हुक्स का संग्रह शामिल है। यह टेक्स्ट और नंबरों को फ़ॉर्मेट करने के लिए यूटिलिटीज़ भी प्रदान करती है।
Provides reusable state management patterns and logic primitives for React.
use-immer is a React state management utility that provides a custom hook for updating immutable state. It allows for the modification of a temporary draft version of data to calculate the next state transition. The tool simplifies the management of complex state by enabling direct mutations on a draft, which removes the need to manually copy nested objects or arrays using spread operators. This approach ensures the generation of a new immutable snapshot for predictable state changes. The library covers capabilities for updating deeply nested state and supports processing state changes throu
Simplifies state updates in functional components by applying mutations to a temporary draft.
This project is a curated library of reusable logic designed to simplify state management and component behavior in web applications. It functions as a frontend development toolkit that provides a collection of community-driven hooks to handle common tasks within the component lifecycle. The library distinguishes itself by offering a centralized repository of shared solutions for managing complex data and interface interactions. By providing pre-built abstractions for browser interfaces, network data requests, and user interface components, it allows developers to replace repetitive boilerpla
Provides reusable hook primitives to manage complex component data and application state predictably.