Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Nik Gushchin Dr-Nikson

🎯
Focusing
View GitHub Profile
View agnoster.zsh-theme
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://gist.github.com/1595572).
#
@Dr-Nikson
Dr-Nikson / 0-redux-auth.MD
Last active Oct 23, 2017
This is a redux-auth concept
View 0-redux-auth.MD

This gist is about token-based authentication (who you are?) with redux

Currently it for clent-side apps only. Not for universall (isomorphic) apps. Will add it soon

0. Requirements

I'm using the promise middleware to dispatch actions like this:

@Dr-Nikson
Dr-Nikson / README.md
Last active Mar 13, 2018
Auth example (react + redux + react-router)
View README.md
View README.md

Reduce boilerplate in Redux

  • Create actions similar to Flummox.
  • Generate action ids.
  • Supports actions with decorators, promises, and therefore ES7 async.
You can’t perform that action at this time.