Get "PHP 8 in a Nutshell" (Soon PHP 8.5)
Amit Merchant
Amit Merchant Verified ($30/year for the domain)

A blog on PHP, JavaScript, and more

  • Articles
  • Snippets
  • Projects
  • Uses
  • Stats
  • About
  • Search
Laravel PHP JavaScript Git React

Keeping track of the last value of state in React.js

June 21, 2022 — When working with states in React.js, there comes a time when you might need to differentiate between the current and previous “state” of a state.

Read More React

How to validate JSON in Laravel

June 16, 2022 — I’m pretty sure if you’re older enough to be working in the software development industry, the one format that you would be working with in a recurring manner is JSON.

Read More Laravel

Make DevTools pick colors outside of Chrome

June 10, 2022 — You know we have got a handy color picker in Chrome DevTools that let you pick colors anywhere from the browser window easily.

Read More ChromeDevTools

Expose local Vite instance to the network

June 7, 2022 — When you have configured your web application development build using Vite, you might have set it up in your package.json like so.

Read More Vite

How to checkout Git branches interactively

June 5, 2022 — Working with Git, the one thing that you would do more often is to checkout branches. The way to checkout to a branch is by using the git checkout command.

Read More Git

How to use Git Log command efficiently

June 1, 2022 — If you’re a modern developer and using Git as your choice of the version control system, you would have used the git log command at some point of time in your career.

Read More Git

The new Performance Insights panel in Chrome Dev Tools

May 30, 2022 — A recent release of Chrome, version 102.x, now includes a handy Performance insights panel which can be found in the dev tools. This is, however, an experimental feature that will be evolved based on the feedback received from the users.

Read More ChromeDevTools

Dark-mode aware scrollbars using CSS

May 27, 2022 — I have created a little web app called Notepad which is also a progressive web app (PWA). It’s a minimal notepad app where you can quickly jot down stuff that gets saved in the browser’s localStorage.

Read More CSS

Making headers sticky using CSS for a better reading experience

May 25, 2022 — If you have ever visited the categories page of this blog previously, you might have noticed that it first lists all the categories in a pill shape, and then underneath it, category posts are listed along with the category title like so.

Read More CSS

Array to object conversion in JavaScript

May 21, 2022 — I was working with a group of checkboxes under a redux-form for one of my applications. So, when I select certain checkboxes here’s the format in which I was getting the value of the checkboxes.

Read More JavaScript
Previous 1 ... 33 34 35 ... 77 Next

Download my eBook

NOW AVAILABLE PHP 8.4

Newsletter

Subscribe

Follow me everywhere

My Tiny YouTube Channel ➔ YouTube Icon

Recently Published

  • The new progress() function in CSS NEW

  • Seven Real-World Examples of Using the Pipe Operator in PHP 8.5

  • Using the new session cache in Laravel

  • A free and open-source alternative to Spatie's Ray to debug PHP applications

  • Resize any DOM element using two lines of CSS

Top Categories

Laravel PHP Miscellaneous JavaScript CSS VS Code Git React Tools ➔
Home About Contact Categories Links Guestbook
Previous page Next page
Amit Merchant
This is HAL-9000 from 2001: A Space Odyssey
About Contact Archive Tips Guestbook
One of my favorite flowers from Himalayas—Rhododendron
Copyright © 2025 — Amit Merchant