Become a member
Sign in
c0d3r
c0d3r

c0d3r

108 Following
25 Followers
  • Profile
  • Claps
  • Highlights
  • Responses

Latest

c0d3r
c0d3r
Mar 10, 2016 · 5 min read

Line-by-line walkthrough of underscore extend

Underscorejs is an open source library of useful functions that help make your code more compact. Analogus to the ubiquitous ‘$’ in the jQuery object, the underscore object is usually aliased as ‘_’, and functions are just methods on this object…

6

2 responses
c0d3r
c0d3r
Mar 10, 2016 · 3 min read

The Arguments Object in Javascript

In certain programming languages, if we defined a function to take in a certain number of parameters, and used the function with anything other than the requisite number of parameters, it will return a syntax error.

3

1 response
c0d3r
c0d3r
Feb 25, 2016 · 1 min read

The Redux Store

Store binds 3 principles of redux

  • holds current application state object
  • lets you dispatch actions
  • when created, need to specify reducer to tell how state is updated with actions
c0d3r
c0d3r
Feb 25, 2016 · 1 min read

The 3 Principles of Redux

[Notes taken while watching Dan Abramov’s excellent free egghead course on Redux]

First: the State Tree Principle

everything that changes in app (data/ui state) is contained in a single object called the state or…

39

1 response
c0d3r
c0d3r
Feb 25, 2016 · 2 min read

My Redux Workflow

This is roughly the workflow in Dan Abramov’s egghead.io tutorials, with maybe a little modifications of my own (I don’t remember which ones).

test these using expect