This is a CFP for ReactiveConf open call for lightning talks. If you'd like to see this talk become a reality, please ⭐️ star this gist. #ReactiveConf
If you're on your phone, please request the desktop site to star this gist 😇
This is a CFP for ReactiveConf open call for lightning talks. If you'd like to see this talk become a reality, please ⭐️ star this gist. #ReactiveConf
If you're on your phone, please request the desktop site to star this gist 😇
Please 🌟 this gist to vote for this proposal!
No other topic in software development probably has so much controversy as linting.
With a wrong workflow linting can be really a pain and will slow you and your team down. With a proper setup, though, it can save you hours of manual work reformatting the code and reducing the code-review overhead.
This gist is a proposal for lightning talk at Reactive Conf 2017
Like the idea? Give me a 🌟 and see you in Bratislava!
Hello, my name is Eduard!
I'm the maintainer of Create Elm App and contributor to Create React App and Webpack
This is a CFP for ReactiveConf 2017's open call for Lightning talks. If you'd like to see this talk become a reality, please ⭐ star this gist. #ReactiveConf
/** Async version of Array.prototype.reduce() | |
* await reduce(['/foo', '/bar', '/baz'], async (acc, v) => { | |
* acc[v] = await (await fetch(v)).json(); | |
* return acc; | |
* }, {}); | |
*/ | |
export async function reduce(arr, fn, val, pure) { | |
for (let i=0; i<arr.length; i++) { | |
let v = await fn(val, arr[i], i, arr); | |
if (pure!==false) val = v; |
From @helenvholmes to you 💖
If you're nervous about traveling in a country where you can't read anything: restaurants often have menus with pictures. The train system is all doubled in English. When you get in and you're exhausted from a huge flight, I recommend Airport Limousine Bus. As soon as you get out of customs, you will see a big orange counter for the company. Just tell them the hotel, and they will drop you off right at the entrance.
Most places take credit cards, but you’ll need cash for the trains. There are normally ATMs inside the 7/11s. It's worth it to get a Suica card.
Sim cards?: You can get one at the BIC Camera Shibuya.
This demonstrates the implementation of full text search for documents in Indexed DB.
The necessity of annotating records with the word list to populate the index is a limitation of the current Indexed DB API. A feature request to support custom
Redux has brought the notion of reducer back into the awareness of many developers for whom they are a novel concept. In fact they are quite simple, and used all the time in such things as SUM
aggregations in databases, where they compute a single value from many.
It's great that Redux has made reducers known to a broader audience, though they are relatively ancient concepts in programming, in fact. But the particular way Redux illustrates a reducer in its documentaion is, in my opinion, with a coding style that is harder to extend and read than it should be. Let's distill reducers down to their essensce, and build up Redux reducers in a way that lowers complexity, and helps separate Redux idioms from your business logic.
A reducer is a pure function that accepts more arguments than it returns. That is to say - one whose "arity" is greater than 1. It 'reduces' the two things you pass it down to a single value. Here are two reducers, in a map