3 Minutes with Kent

3 Minutes with Kent

By Kent C. DoddsTechnology
Download on the App Store

All 3 Minutes with Kent episodes

  • Generators, Boilerplates, and Starter Kits

    There are thousands of generators,

    boilerplates, and starter
    kits available on npm right
    now. While these tools are super handy to get started, using them will bite
    you in the long run. I recommend that you make and use your own, and only
    use others as a reference.

    3 min
  • The value of an AMA

    I was just thinking about my AMA and decided that I'd talk about how I've

    found it to be valuable and encourage you to start your own!

    Here's mine: https://github.com/kentcdodds/ama

    Here's Sindre's: https://github.com/sindresorhus/ama

    3 min
  • Aphrodite vs BEM (CSS)

    I was talking with my good friend Jamund Ferguson today and he mentioned

    that he just really likes the simplicity of using regular
    (non-preprocessed) CSS with BEM and here are some of the reasons I still
    prefer Aphrodite.

    I didn't mention in this that I also love that Aphrodite automatically

    vendor-prefixes everything for me as well.

    Hope this is helpful!

    3 min
  • JavaScript Air Stats celebration (100k downloads!! ๐ŸŽ‰)

    JavaScript Air just passed 100,000 downloads on the audio podcast hosted by podbean.com ๐ŸŽ‰ ๐ŸŽŠ

    Things are going really well for the show so I wanted to share a bunch of stats about the show with you today. Here are the promised stats screenshots: http://jsair.io/stats-2016-04

    See you on twitter!

    3 min
  • Q&A: Aphrodite vs CSS Modules?

    My friend Matt Winchester asked me what I think of

    Aphrodite compared to css-modules. Here's my answer.

    Here's an example of me migrating from CSS (processed with PostCSS) to Aphrodite: https://github.com/javascriptair/site/commit/d8b8bf349f6c94a1d00539bb285240615baf5b7d

    Oh! And one other thing I didn't mention as a benefit of Aphrodite that can be a killer feature is because your CSS is colocated with the components that are using it, you can ship only the styles that are needed and used, rather than shipping ALL of your styles. A lot of problems go away when you have an explicit relationship between your styles and your components ๐Ÿ‘

    I hope this is helpful :-) Feel free to ask more questions on my AMA

    3 min
  • Q&A: Recording audio/video for JavaScript Air

    Adam Morgan asked me how I record

    audio and video for JavaScript Air. Here's my
    answer.

    Links:

    • How to start a podcast like JavaScript Air
    • Mostly Node podcast
    • Heil PR-40
    • microphone
    • Heil HB-1
    • Microphone Boom
    • Hangouts on air
    • I hope this is helpful! Feel free to ask me more questions on my AMA

      3 min
    • How JavaScript Code Coverage Works

      Just a quick explanation of how tools instrument your JavaScript code to

      record and report code coverage. Common tools:

      • istanbul
      • nyc with ava are great for coverage of node-running tests (use jsdom to mock a DOM like I do).
      • babel-plugin-__coverage__
      • karma-coverage with karma and the babel plugin are great for coverage of code when you want to run your tests in a browser
      • isparta (no longer maintained, try the babel
      • plugin)

        You may also be interested in this video + this repo where I go through setting up code coverage with ES6, Webpack, and Karma. Just replace where I use isparta with using babel-plugin-__coverage__ (like this) and it should work great ๐Ÿ‘

        I hope this is helpful!

        See you on twitter!

        3 min
      • Automating JavaScript Air

        I've automated a ton of stuff for JavaScript Air.

        There's definitely still more to do, but I'm pretty happy with how much is
        automated. You can find most of the automation stuff in the npm scripts in
        the package.json in the
        repo. Many of these reference
        scripts found in the other directory.

        Automation is great. In fact, this very episode used some of the automation

        found in this repo to make it mono and compress the audio. As I often say:
        Saving time is not the only reason to automate workflows.

        See you on twitter!

        3 min
      • From vim to Atom + vim mode

        For the last 24 hours I've been using Atom with vim mode and so far I'm

        liking it a lot. Here are the plugins I've installed so far:

        • ava
        • custom-invisibles
        • git-plus
        • language-babel
        • linter-eslint
        • open-this
        • relative-numbers
        • vim-mode
        • See you on twitter!

          3 min