Yes, a to-do app, seems like something we’ve all done in the past. The great thing about a to-do app is that it covers all 4 aspects of CRUD; Create, Read, Update, Delete. As a developer, we need to know CRUD and a to-do app is the best way to
Posts in Category: web tricks
Smooth Scrolling, dont know what it is? Well, instead of clicking on a button and being instantly taken to a different part of the (same) page, the user is navigated there via a scroll animation. It’s one of those subtle features on a site that makes an incredible difference in
If the first time you heard this phrase “parent-child relationship in MySQL”, you went “Ok, anyone else got cool made up names or are we to start brainstorming now”, then this article is for you. For the uninitiated, this might not make much sense. That’s perfectly fine because you do
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API as well as gives clients the power to ask for exactly what they need and nothing more.
It makes it
From the classic
forloop to the
.map() creates an array from calling a specific function on each item in the parent array.
.map() is a non-mutating method
React version 16.6 is out and it comes packed with some useful new features that are very much worth getting excited about. It’s a minor release with major features focused on performance optimization. The main new features include:
- static contextType()
- static getDerivedStateFromError()
- a number of deprecations in
As developers, there are couple of times where your application will require different type of users. Take for instance you’re building a Hospital Management software and you need both Doctors and Patients to be entirely unique users. How do you handle registration and authentication for both users in such a
React 16.6.0 is released! With it comes a host of new features including the two big ones:
- React.lazy(): Code-splitting and lazy-loading with React Suspense
We’ll focus on React.memo() for this article and React.lazy() and Suspense in an upcoming larger article.
What is React.memo()?
React.memo() is similar