Skip to content

Instantly share code, notes, and snippets.

View dikamilo's full-sized avatar
🏠
Working from home

Kamil Łuszczki dikamilo

🏠
Working from home
  • Better Software Group
  • Wrocław, Poland
View GitHub Profile
@dikamilo
dikamilo / redux_intro.js
Created July 20, 2020 20:18
Introdution to redux
import Redux from 'redux';
console.clear();
// Action creators
const createPolicy = (name, amount) => {
return {
type: 'CREATE_POLICY',
payload: {