Dynamically Wrapping Strings in HTML Tags Using ReactJS and Regex
Whether it's adding code tags to titles or something else, wrapping strings in HTML tags can be a helpful tool. Here's how to do it in ReactJS.

Search for a command to run...
Articles tagged with #javascript
Whether it's adding code tags to titles or something else, wrapping strings in HTML tags can be a helpful tool. Here's how to do it in ReactJS.

Publishing and maintaining NPM packages can involve manual administrative tasks but it doesn't need to. semantic-release can automate it for us.

Here's how to build a dark/light theme toggle in Next.js using TailwindCSS and the next-themes npm package to make it load and transition flicker-free

For a long time, the monolithic application structure has been the go-to, but as technology has moved on, new methods and structures have arisen. One of these is the Jamstack. In this article, we are going to take a look at how we can convert a monol...

When we first learn to code in JavaScript we quickly learn the console method console.log() and then for many stop there because it works in the vast majority of situations. But, did you know that there are potentially much better methods you could b...

A large part of using JavaScript is dealing with booleans. This might be in conditional rendering or an if statement. But, regardless booleans are everywhere. For this reason, it's important that we understand that every value we create in JavaScript...
