I hereby claim:
- I am johnsylvain on github.
- I am jsyl (https://keybase.io/jsyl) on keybase.
- I have a public key ASB0qmcsag6oUuyCKRejaHz_Ct1GFBYVub15VSSyFqc-mwo
To claim this, I am signing this object:
/// Block Element | |
/// @access public | |
/// @param {String} $element - Element's name | |
@mixin element($element) { | |
&__#{$element} { | |
@content; | |
} | |
} | |
/// Block Modifier |
const assign = (obj, ...props) => props.reduce((acc, prop) => { | |
for (let i in prop) acc[i] = prop[i] | |
return acc | |
}, obj) | |
// Usage | |
const state = { | |
todos: [ |
export function h (nodeName, attributes, ...children) { | |
children = [].concat.apply([], children) | |
attributes = attributes || {} | |
return typeof nodeName === 'function' | |
? nodeName(attributes, children) | |
: { nodeName, attributes, children } | |
} | |
export function render (parent, newNode, oldNode) { |
I hereby claim:
To claim this, I am signing this object:
hi! 👋
i'm john. i enjoy writing software, making music, and creating products.
here are some projects i've worked on: