jvain·8 年前·議論Shouldn't the doFilter function use query instead of this.state.query? const doFilter = query => user => query === user.name;
jvain·10 年前·議論Booleans, how do they work? const DEBUG = process.env.NODE_ENV !== 'production' module.exports = { debug: DEBUG ? true : false