Derek NguyenDeclare Typescript Ambient Module Definition for “4th” Party PackageI work with Gatsby & Typescript frequently, and Gatsby exports its own version of GraphQL:Mar 30, 2020Mar 30, 2020
Derek NguyenTake advantage of CSS’s cascading to write manageable css-in-jsI have a styled-component button component that will take in these props:Jan 9, 2019Jan 9, 2019
Derek NguyenConfig Storybook 4 to use SVGR webpack pluginSVGR turns your .svg into React components. It also has a webpack loader that’ll allow you to import .svg directly into your javascript…Jan 3, 20192Jan 3, 20192
Derek NguyenEmotion-js’ withComponent and shouldForwardPropUsing shouldForwardProp with withComponentDec 10, 2018Dec 10, 2018