Delay dispatching actions in Redux using Thunk middleware
April 1, 2021 — Managing the application state in a modern frontend application is hard. But it’s tools like Redux which makes it all breeze for us.
A blog on PHP, JavaScript, and more
April 1, 2021 — Managing the application state in a modern frontend application is hard. But it’s tools like Redux which makes it all breeze for us.
March 30, 2021 — Sometimes, all you would need is to forcefully prevent some of the fields in the request. Essentially, to “prohibit” or ban the fields to be mandatorily empty or not present in the request at all.
March 24, 2021 — If you’re running any sort of blog, it would be really important to interact with your audience. One way to doing this by having a comment system that can enable a visitor on your blog to drop their view and opinions.
March 24, 2021 — Any new beginning is always a challenge. When it comes to learning how to code, many individuals back off simply because it looks not-so-easy to understand the programming principles at the first sight.
March 22, 2021 — If you want to make your web application robust, you get to handle those quirky and unpredictable exceptions. And the way you do that in PHP is by using try-catch blocks in your code. The same applies in the case of Laravel as well.
March 17, 2021 — Oftentimes you would want to retrieve the user’s timezone to perform a certain task. And how would you retrieve it? One way to do it in PHP is by retrieving the timezone set on the user’s system.
March 15, 2021 — Oftentimes, it would be handy if you could seed the number of model rows based on the user input. i.e you don’t hardcode the number of rows a seeder would generate. The user will pass that number while running the seeder.
March 14, 2021 — Have you ever run into a situation where you want to render some HTML into an SVG? Well, if you ask me the same question, I would say yes.
March 11, 2021 — Sometimes, you might run into a situation where you want to see what all database queries will run upon running your Laravel migrations, and that too without actually running the migrations.