Selectively passing props with destructure and spread

Learn how to selectively pass props through to a child component, using JavaScript's new object destructuring and spread syntax.

  • the

  • destructuring: lets you pick out props - like lodash.pick

  • splats: lets you get an object of all props that weren’t

About James

Hi! I've been playing with JavaScript for over half my life, and am building Frontend Armory to help share what I've learned along the way!

Tokyo, Japan