rg

react-garage

A localStorage wrapper for react components with added functionality

Showing:

Popularity

Downloads/wk

8

Maintenance

No Maintenance Data Available

Package

Dependencies

4

Size (min+gzip)

6.6KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

React Garage

A simple localStorage wrapper for react components.

Important

This is an experimental module --wip, YMMV

What is react garage?

Just like in your home, your garage is a place to store stuff that you'd like to have quick access to, but not in your way.

Features

  • basic client-side persistence with localStorage sessions
  • use component's setState to store state to localStorage
  • lodash style property accessors get(state, 'prop.otherprop')
  • communicate cross components by hooking into react-garage's event emitter

Module Todo

  • Add tests
  • Add docs
  • Add example usage

Contributors, questions, and comments

Email me

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial