Skip to content

Instantly share code, notes, and snippets.


Nik Gushchin Dr-Nikson

  • Russia
View GitHub Profile
View agnoster.zsh-theme
# vim:ft=zsh ts=2 sw=2 sts=2
# agnoster's Theme -
# A Powerline-inspired theme for ZSH
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](
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 /
Last active Jan 4, 2022
Auth example (react + redux + react-router)

Reduce boilerplate in Redux

  • Create actions similar to Flummox.
  • Generate action ids.
  • Supports actions with decorators, promises, and therefore ES7 async.