[properties] are part of the #DOM attributes are part of #HTML #javascript #angular2
1
you can think a #typescript #interface like #propTypes in #reactjs, just the object you that expect it to be. #javascript #blackend
#angular2 leverages native DOM events and properties which dramatically reduces the need for a ton of built-in directives #javascript #ng2
#angular2 is fucking awesome #reactjs is fucking awesome but #javascript #omfg !!!!!!!!!
Аневризма retweeted
Firebase Hosting now supports HTTP/2! firebase.googleblog.com/2016…
3
98
114
touching a node has a cost styling can have a big cost reflow can have a big cost repaint can have a big cost #javascript #performance #DOM
1
"Directives shouldn't declare templates and controllers anymore, or receive data through bindings." - @toddmotto #angularjs #javascript
1
"data that's written to a primary node will asynchronously replicated to the secondaries nodes" #mongodb #replication
let docs = [{}, {}], promises = docs.map(doc => db.post(doc)); Promise.all(promises).then(results =>results); #es2015
let docs = [{}, {}] pros = docs.map(doc => db.post(doc)); let r = [], p; for (p of pros) { r.push(await p); } #es2016
let arr = obj.files.map(({name, type, size}) => ({name, type, size})); #javascript #es2015 #destructuring is #fucking #awesome #reactjs
Аневризма retweeted
Try a fully free, open source mobile framework that gives you 100% native API access w/ JavaScript or Angular bit.ly/2cdzX81
1
13
41
Аневризма retweeted
Test JavaScript with Jest - #JavaScript lesson by @kentcdodds #free #new bit.ly/2bIHV9B
8
34
I would rather functions that returns objects than classes instantiating them #javascript
a course of #webgl at @eggheadio plus all the stuff I've learned, this is a solid foundation for what I really want to do... #gameengines