Denormalization in #firebase is simply duplicating data to reduce querying. #javascript #react #angular2 #aneurysm
2
This is my stack "FIRE" Firebase React Is all I need for a good app #javascript #firebase #reactjs #realtime
1
1
people often ask me. "are you a programmer?" and I say "NO, I am a #javascript freak" and that's why I love it #reactjs #react #angular2
1
An "expression" is a phrase of #JavaScript that a JavaScript interpreter can evaluate to produce a value.
async function* nums() { yield pFn1(); yield pFN2(); return 'yeah'; } let itr = nums(): itr.next().then(log); #javascript
async function user(id) { if (await exist(id)) { return await get(id); } else { return new Error(); } } #javascript #asyncfunctions
array.slice and the spread spread operator saved my day :) #javascript #arraymethods
2
let f = (async () => 89)(); // same let f = (() => Promise.resolve(89))(); f().then(r => r === 89); #javascript #es2017 #asyncfunctions
Аневризма retweeted
I liked a @YouTube video youtu.be/AslncyG8whg?a Netflix JavaScript Talks - RxJS + Redux + React = Amazing!
1
1
"the UI is more predictable when is described as a pure function of the application state" #javascript #redux #react #angular2
<Provider /> is gonna be passing your store to whenever you ask for it. #javascript #react #redux #reactredux
1
"The only way to mutate the internal state is to dispatch an action." #javascript #redux philosophy
cons mapper = ({prop1, prop2}) => ({prop1, prop2}); #omfg #javascript object #destructuring so cool. #redux
1
let c = []; r.orderByKey().on('child_added').then(snap => { c = [...c, snap.val()]; }); #javascript #firebase data as a READ-ONLY array
async function main() { const [m1, m2] = await Promise.all([import('./m1.js'), import('./m2.js')]); } main(); #javascript dynamic imports
1
ternaries in #react tends to be more confusing than helpful? I dunno let someComponent = (bool) ? (<input />) : (<other />); #javascript
how would you sort data in Russian alphabetical order? there's no way by doing manually..? @ChrisEsplin ? #firebase #sortdata #javascript
1
#firebase and #reactjs are made for each other, no bullshit, practically yoy just added and that's it #javascript #realtimedatabase ;)
I really love @firebase and I use it a lot but I can't sort data in russian alphabetical order... сложная задача #javascript #firebase