Skip to content

React Utilities to speed up React development πŸŽπŸ’¨

License

Notifications You must be signed in to change notification settings

react-utilities/react-utilities

Repository files navigation

React Utilities πŸŽπŸ’¨

Typed with TypeScript lerna

Utilities for React to simplify development

Everyday components for speeding up React development with little or no extra boilerplate code.


Packages πŸ“¦

Package Utility
@react-utilities/vertical-scroll-distance-detector checks the vertical scroll distance of an element
@react-utilities/width-detector checks the browser width

Why 🧐

There are several ways to approach building utilities for React.

Simplicity

React Utilities focuses on simplicity. It has 1 dependencyβ€”React! It is a monorepo providing an echo system to quickly develop and test React utilities to be shared without the worry of code bloat because when it comes to installing your component, you're only importing a component and a little boilerplate from compilation.

*Tested

Furthermore, because tests are written for each component in React Utilities, you don't have to write tests. Basically, React Utilities aims to be the React code you could write but won't now that you can import a React Utility from this library without worry.

*Tests coming soonish!


Cites πŸ™

Many if not all React Utilities are written very well elsewhere! React Utilities are meant to add solutions to everyday React development as well as recipes for common React development patterns so that you can focus on your app.

See React Use, React Fns, The Platform, and Jared Palmer's work for a great start! πŸŽπŸ’¨