Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@joecarney
joecarney / set.nested.object.value.js
Created September 14, 2016 21:01
How to set a nested object value when the key is a variable name
const action = {
id: "last_name",
value: "Carney"
};
const state = {
inputs: {
first_name: {
value: "Joe"
},
@joecarney
joecarney / gist:6697209
Last active April 17, 2017 21:45
Sketch App Resources... If you have any more, tweet @joseph_carney & I'll add them :)