A living, breathing guide to testing React components. Learn how to test React with react-test-renderer, React Act API, Cypress, and more.Continue reading “Testing React Components: The Mostly Definitive Guide”
I bet you don’t know the answer. What are the most basic components of a programming language?
Variables and functions right? Everybody can learn these building blocks. But what lies beyond the basics?
How To Use Async Await in React?
You want to use Async Await in React the same as you do in Node.JS? create-react-app supports async/await out of the box.
But if you work with your own webpack boilerplate you may hit an error like regeneratorRuntime is not defined. In the following post you’ll see how to use Async Await in React and how to fix that error.Continue reading “How To Use Async Await in React (componentDidMount Async)”
A practical (opinionated) introduction to using Django REST with React.Read morE
The simplest React Redux tutorial I wish I had when I started learningContinue reading “React Redux Tutorial for Beginners: The Definitive Guide (2020)”
A quick fix for missing 1 required positional argument: on_delete on Django 2.0
Django 2.0 has been released with some nice improvements over the older version.
I really like the new path method so I decided to check out Django 2.0. Among the new feature there are some minor changes such as with the ForeignKey field.
Have you ever wondered how to set up React, webpack, and Babel from scratch? I’ve got you covered!Continue reading “Tutorial: How to set up React, webpack, and Babel 7 from scratch (2020)”
End to End Testing, also called E2E or UI testing is one the many testing phases covering a web application.