According to the MDN reference, it is:
ECMAScript 5's strict mode is a way to opt in to a restricted variant of JavaScript [sic].
It goes on to say:
this._panResponder = PanResponder.create({ | |
// ----------- NEGOTIATION: | |
// A view can become the touch responder by implementing the correct negotiation methods. | |
// Should child views be prevented from becoming responder on first touch? | |
onStartShouldSetPanResponderCapture: (evt, gestureState) => () => { | |
console.info('onStartShouldSetPanResponderCapture'); | |
return true; | |
}, |
According to the MDN reference, it is:
ECMAScript 5's strict mode is a way to opt in to a restricted variant of JavaScript [sic].
It goes on to say:
import { createSelector } from 'reselect' | |
const shopItemsSelector = state => state.shop.items | |
const taxPercentSelector = state => state.shop.taxPercent | |
const subtotalSelector = createSelector( | |
shopItemsSelector, | |
items => items.reduce((acc, item) => acc + item.value, 0) | |
) |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
badger "github.com/dgraph-io/badger/v2" | |
"github.com/dgraph-io/badger/v2/pb" | |
) |