News for hackers. Stuff that matters.

jvain

Re:JavaScript fundamentals before learning React on Friday July 20, 2018 @04:04AM (#17573256)
Shouldn't the doFilter function use query instead of this.state.query?

  const doFilter = query => user =>
    query === user.name;
Re:Tips and tricks in using Webpack on Wednesday December 21, 2016 @02:42PM (#13232000)
Booleans, how do they work?

  const DEBUG = process.env.NODE_ENV !== 'production'
  module.exports = {
    debug: DEBUG ? true : false
There's a new book from Khoi Vinh, just read it and liked it a lot. Also it's the first book on applying grid based design on web sites instead of print:

http://www.subtraction.com/2010/11/05/i-wrote-a-book