Great tutorial that creates streaming events on the server side with nodejs and uses event source on the client side to consume the EventStream with @reactjs
https://t.co/YwIE5sHolw
#eventsource#mdn#javascript#react#NodeJS
React tip: You can eliminate constructors for state and binding. Use class fields instead (stage 3, transpiled via Babel).
Making this change all over lately. Nice way to reduce cruft.
#react
🔥 Confirmed: 🔥
1. npm install Node@8 (saves Node 8 as dependency in package.json)
2. Your app will run using Node 8 for *everyone* - even Yarn users! 🎉
No more "Hrmmm, works on my machine. What version do you have installed..."
#node
Coming in the next 24 hours for Level Up Pros. Level 2 React Native + GraphQL!
We dive into intermediate React Native using @graphcool
& @apollographql
Preview coming soon!
Handy trick for debugging concise arrow functions:
(arrow funcs that omit the return statement have a "concise body" instead of a "block body") https://t.co/tT2mlUl054