use-local-storage-state
Material UI
use-local-storage-state | Material UI | |
---|---|---|
8 | 290 | |
1,059 | 91,600 | |
- | 0.4% | |
7.9 | 10.0 | |
10 days ago | 7 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
use-local-storage-state
-
My ingenious library failed but my simple one reached 2m downloads
TL;DR; Today I saw my simple library use-local-storage-state has reached 2 million total downloads while my other ingenious* library main-thread-scheduling has only 8k. I explore why because: 1) it's curious, 2) I want to maximize my value in the open-source community by not making the same mistake twice.
-
My open-source principles
No bloat. I am inspired by Sindre Sorhus. I aim to create small and focused modules. I commonly decline feature requests and propose an alternative ad-hoc solution to the user. When the request is valid and can't be implemented outside the library, I usually refactor enough so the bundle size remains almost the same. Take a look at the history of use-local-storage-state through the last versions. The size got smaller! If the feature is too big, I may consider splitting the problems into two repos.
-
Better npm search proposal
For example, I just searched for "local storage react hook npm" and it didn't show my own library use-local-storage-state. For context, my library is the most downloaded and most maintained local storage react hook library on npm.
- Anyone can help me with localStorage stuff for a JavaScript E-commerce project please ? :)
-
One year ago, I created a small library that just hit 10k downloads per week
This looks a lot like one of the issues I have in the library β https://github.com/astoilkov/use-local-storage-state/issues/24.
-
React Hooks Factories
use-local-storage-state - the prime example that inspired me to write this blog post.
Material UI
- Zero-runtime CSS-in-JS implementation
-
β‘Top GitHub Repositories for UI Components
π Site β GitHub
-
StyleX β Meta's Styling Library
You'll be glad to hear that MUI is zeroing in (pun intended) on a zero runtime solution right now as an alternative to Emotion [0], although that GitHub issue doesn't capture just how far it has come. Expect more soon!
[0] https://github.com/mui/material-ui/issues/38137
-
9 React component libraries for efficient development in 2023
GitHub stars: 89.3k GitHub link: https://github.com/mui/material-ui Documentation: https://mui.com/material-ui/getting-started/
-
13 Must Know Libraries for a React Developer
With GitHub stars of 88K(August 2023) and weekly NPM downloads of 2.9 million(August 2023), MUI is one of the most popular React UI libraries in the world.
-
10 Best Free React UI Libraries in 2023
MUI is a collection of UI tools and component libraries that helps you bring great designs to life in no time. The most popular of these is MUI Core.
- The Ultimate Comparison: Ant Design vs Material# Ant Design vs Material UI: Which React UI Library to Choose
- MUI finally adds "use client" to their components, but...
- React and Vite - Why is still loading other component not imported
-
Please Grill Me On My React "Take Home Assessment"
In the MUI case they have a component. https://github.com/mui/material-ui/blob/master/packages/mui-lab/src/TreeView/TreeView.js#L818
What are some alternatives?
SWR - React Hooks for Data Fetching
mantine - A fully featured React components library
react-intersection-observer - React implementation of the Intersection Observer API to tell you when an element enters or leaves the viewport.
antd - An enterprise-class UI design language and React UI library
react-cool-inview - π π₯οΈ React hook to monitor an element enters or leaves the viewport (or another element).
primereact - The Most Complete React UI Component Library
use-onclickoutside - React hook for listening for clicks outside of an element.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
nextui - π Beautiful, fast and modern React UI library.
storage - A library to use Web Storage API with Observables
daisyui - πΌ πΌ πΌ πΌ πΌ βThe most popular, free and open-source Tailwind CSS component library