In this talk, we build a Netflix clone from scratch using TDD, React Hooks while profiling and optimizing along the way. We then demonstrate how easy it is to add MobX into the mix for that extra horsepower (and less code!).
Writing unit tests is an essential skill for any developer that has tremendous benefits to code quality: if done right. This article explains what they are, why we need them and how to overcome challenges that come with them.
One of the most important things to remember when testing code is to provide a consistent environment for tests to run in. This is done by isolating the code from the outside world which not only makes for consistent results, but also results in failures in one module not having adverse effects on tests of another. Isolating code can seem like a challenging task, especially in the fast changing world of JavaScript.
In the fast changing world of HTML5, we've grown accustomed to using polyfills to bring future and current features to all browsers. Browsers are starting to catch up and support these features natively, yet we continue to bundle code that may not be used. Find out how Webpack's chunking and code splitting can be used to only download polyfills when necessary.
Webpack does a lot more than bundle source files into a distributable package. Its code splitting and dynamic loading capabilities make it a great tool for controlling the lifecycle of an application. This article shows a real-world example of code splitting and chunking to positively impact user experience.
JavaScript has received its first major update since 2009. Find out what ES6 features will have the biggest impact on your codebase using real-world examples and get the tooling to get started in all 3 flavours: Gulp, Grunt and Webpack. > ES6 stands for ECMAScript6, which is the latest version of language specification JavaScript is derived from.
In my experience, HTML5 has been dismissed in favour of native apps because it just did not have the same "wow" factor. Even the best written apps often suffer from sluggishness and noticeable performance bottlenecks on mobile, and the experience is inconsistent across platforms and devices.