Summarizing the answer as much as possible, an asynchronous action has a callback and the synchronous one only returns the “type” and the “payload”.
Category Archives: Software
useSelector is used to obtain information from the state. const state = useSelector(state => state); The code snippet above basically makes the useSelector hook convert the state into an object that can be accessed with the variable that holds useSelector, in this case, “state”. One idea is that you can destructure the state, for example, […]
Achieve all your goals with Habits. A true gem. A FREE app available for IOS and Android. It helps you manage and achieve your habits in an organized, rewarding, and fun way. Lately, the concept of Gamify has gained a lot of popularity. This way, you feel like you’re playing a game, but in reality, […]
What if I told you that your favorite influencer does NOT exist? Virtual influencers are now the trend, and I’ll explain below what they are about. It is often said that social media shows unreal realities. But what if I told you that we are at a point where people can, with the help of […]
Change the color of your eyes? Would you be willing to undergo surgery to do it? There is a procedure called “keratopigmentation” or “corneal tattoo,” which can help you change your eye color to the color you choose. It has 3 main variants: This last technique is the safest of the three, as it has […]
Introduction The “502 Bad Gateway” error is common when Nginx, acting as a reverse proxy, fails to pass requests to the Gunicorn application server in Django applications deployed on AWS Elastic Beanstalk. This tutorial guides you through the steps to diagnose and fix this issue, focusing on the importance of properly managing your application’s dependencies. […]
This tutorial will guide you through the steps to set up your React frontend on Amazon S3 and distribute it with Amazon CloudFront. Step 1: Prepare your React project Make sure your React project is production-ready by running the following command in the terminal: This will create a build folder in your project containing the […]
For macOS or Linux: Step 1: Open the Terminal. Step 2: Determine which shell you are using. Generally, macOS and many Linux distributions use bash or zsh. You can find out with the command: Step 3: Based on the shell you use, choose one of the following files to edit: .bashrc for Bash or .zshrc […]
Step 1: Access Elastic Beanstalk Log in to your AWS console and navigate to Elastic Beanstalk. Select your application. Step 2: Select Your Environment Choose the specific environment of your application where you want to add the environment variable. Step 3: Environment Configuration On the environment summary page, locate the “Configuration” section. Step 4: Modify […]
The sign language translator created by Priyanjali Gupta — How was it made? She is a third-year Engineering student at Vellore Institute of Technology in India. She developed a model that uses artificial intelligence to instantly convert sign language into English words. Previously, in 2020 and 2021, Nicholas Renotte uploaded tutorials to his YouTube channel […]