I hereby claim:
- I am chasestarr on github.
- I am starr (https://keybase.io/starr) on keybase.
- I have a public key whose fingerprint is D72F 3312 28E5 9727 2E27 1DD0 DAF7 18E1 534B E084
To claim this, I am signing this object:
import { createSelector } from 'reselect'; | |
function selectPayouts = state => state.payouts; | |
/** | |
* Provided application state, returns a function that accepts a payoutId and returns a payout | |
* | |
* @returns {string => ?Object} | |
*/ | |
export function makeSelectPayout = state => payoutId => { |
import { selectMany as selectManyTodos } from 'modules/todos/selectors'; | |
// ... | |
const selectTodoIdsFromProps = (_, props) => props.todoIds || []; | |
export const selectTodos = () => | |
createSelector(selectManyTodos(selectTodoIdsFromProps)); |
{ | |
summary: { | |
gig: { | |
milestones: {} | |
}, | |
}, | |
} | |
// vs |
asdf |
import React from 'react'; | |
import { connect } from 'react-redux'; | |
import { createStructuredSelector } from 'reselect'; | |
import { selectLoggedInUserId } from 'modules/auth/selectors'; | |
import { SolidButton } from 'modules/core/components'; | |
import GIGSTER_COLORS from 'modules/core/constants/GIGSTER_COLORS'; | |
import * as userActions from '../../../actions'; | |
import { |
// model file | |
// is this a bad idea? | |
class Gig extends MongoModel { | |
/** | |
* extends the functionality of model update method | |
* | |
* @param {string} query - object to query db on | |
* @param {any[]} args - arguments to forward to parent class update | |
*/ |
<Username | |
handler={this.handler} // <---- 'handler' will be available from `props.handler` within the component | |
username={this.state.username} | |
/> | |
__________________________________ | |
class Username extends React.Component { | |
render() { |
I hereby claim:
To claim this, I am signing this object:
Example episode payload
{ description : "Isaac Z. Schlueter, James Halliday, Felix Geisendörfer, and Maciej Małecki on New ECMAScript Features, What's Next Up for Node, Stability, Domains, HTTP Parsers, Difflet, Tests, Give, Listener Questions and More!",
duration : 5338,
enclosure : {
filesize : 0,
type : "audio/mpeg",
url : "http://feedproxy.google.com/~r/NodeUp/~5/J8aawbHCeDk/NodeUpThirteen.mp3",
__proto__ : 'Object'
},
[ { url: 'https://api.github.com/repos/chasestarr/ideas/issues/comments/254087346', | |
html_url: 'https://github.com/chasestarr/ideas/issues/6#issuecomment-254087346', | |
issue_url: 'https://api.github.com/repos/chasestarr/ideas/issues/6', | |
id: 254087346, | |
user: | |
{ login: 'chasestarr', | |
id: 5317799, | |
avatar_url: 'https://avatars.githubusercontent.com/u/5317799?v=3', | |
gravatar_id: |