In today's video I'm joined by Sean Larkin from the Webpack team as he talks me through contributing to Webpack. You'll see me write the code, run the tests and open a pull request on Github. If you've ever wondered how to get started contributing to open source, this video should help.
Today we'll see how we can author and publish JS packages with Flow, adding types to our JavaScript in order to have more confidence in our code and improve the development experience. We'll also see how we can publish types so developers using our code can benefit from the fact that it's typed.
In this post we'll look at how to use CSS Modules in React using Webpack. We'll configure Webpack and the CSS Loader to parse CSS and load it in the browser. By keeping the CSS scoped to each component we can avoid any CSS conflicts and make CSS much easier to deal with.