The Fetch API is a browser method for making AJAX requests. Learn how to build your own Fetch API polyfill from scratch and use ES2015 Promises like a pro.Continue reading “Fetch API: Building a Fetch Polyfill From Scratch (For Fun and Promise)”
Learn the new kid in town with this Svelte 3 tutorial. Everything you need to know to start building with Svelte!Continue reading “Svelte 3 Tutorial for The Impatient (React) Developer”
How do you handle ORM errors in Django? Learn how to make your Django function views more robust with try/except (or with a neat shortcut).
Django views are the glue between your users and the underlying database. When a user visits an url Django can map that url with a view. And most of the times the view is also responsible for fetching some data from the database.Continue reading “Django tips: Recovering Gracefully From ORM Errors”
I gave a talk about Decoupling Django with Django REST at Pycon Italia 2019. Here are the slides and the transcript!
It was a pleasure to attend and speak at the tenth edition of Pycon Italia. I gave a talk about Decoupling Django with Django REST. Here’s a loose transcript of the talk which you can use as a tutorial too, alongside with the slides and some pictures!Continue reading “Decoupling Django with Django REST (and a sprinkle of React) @ Pycon Italia 2019”
In this React hooks tutorial you will learn how to use React hooks, what they are, and why we’re doing it.
Here I am, writing a React hooks tutorial for you. I decided to wait until hooks got finally released before dropping this post. Together we’ll learn React hooks step by step, with a look at how the same logic would be implemented with ES6 classes.
Enjoy the reading!Continue reading “React Hooks Tutorial for Beginners: Getting Started With React Hooks (2019)”