Notoriously Pedantic Magistrate

    react-garage

    0.0.2 • Public • Published

    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

    Keywords

    none

    Install

    npm i react-garage

    DownloadsWeekly Downloads

    3

    Version

    0.0.2

    License

    none

    Unpacked Size

    565 kB

    Total Files

    20

    Last publish

    Collaborators

    • fabioanselmo