@autodisol/client

[![npm](https://img.shields.io/npm/v/@autodisol/client.svg)](https://www.npmjs.com/package/@autodisol/client)

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@autodisol/client
Minified + gzip package size for @autodisol/client in KB

Readme

@autodisol/client

npm

Authentification

import { createStore, combineReducers, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import authReducer, { authenticate, disconnect } from '@autodisol/client/auth'

const store = createStore(combineReducers({ auth: authReducer }), applyMiddleware(thunk))

store.dispatch(authenticate('username', 'password'))
store.dispatch(disconnect())

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.