reusable
react-singleton-hook
Our great sponsors
reusable | react-singleton-hook | |
---|---|---|
1 | 3 | |
234 | 231 | |
0.0% | - | |
3.7 | 0.0 | |
27 days ago | about 1 year ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reusable
-
Redux vs. UseContext & UseReducer?
I use this little library to managment shared state. https://github.com/reusablejs/reusable
react-singleton-hook
- Any possibility that the React team makes a single instance hook?
-
useScreenOrientation - React Native Snippet
Step 1 Let's set up a basic hook with react-singleton-hook that we can expand on in the next step. The reason we only want a single hook at any one time, is so we don't have multiple listeners listening to changes. For example, if again you are using React Navigation and you push onto the stack three screens, each of those screens could have set up listeners and be setting state, even when they aren't visible.
-
Making your App really Sexy with a React Singleton Hook
Github: https://github.com/Light-Keeper/react-singleton-hook
What are some alternatives?
axios-interceptor - It's axios interceptor hook to reduce developer effort for configuring api interceptor.
easy-peasy - Vegetarian friendly state for React
winXP - 🏁 Web based Windows XP desktop recreation.
ReactStateMuseum - A whirlwind tour of React state management systems by example
toastmaker - ToastMaker is a light javascript library for showing toast notifications on web page.
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
react-custom-hooks - React Custom Hooks @ S.Leschev: useArray useAsync useClickOutside useCookie useCopyToClipboard useDarkMode useDebounce useDebugInformation useDeepCompareEffect useEffectOnce useEventListener useFetch useGeolocation useHover useLongPress useMediaQuery useOnlineStatus useOnScreen usePrevious useRenderCount useScript etc.
react-easy-state - Simple React state management. Made with ❤️ and ES6 Proxies.
memory-game - A memory game created with React.js and styled with Tailwind CSS.
react-native-orientation-locker - A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.
cerebral - Declarative state and side effects management for popular JavaScript frameworks
jotai - 👻 Primitive and flexible state management for React