…using React and Redux. However, almost all of our components need to work with the store, either by reading specific states or by dispatching actions back to the store. Remember, the Redux store holds all the state for your entire application. This means that most, if not all, of our…
…using them as much as possible. But when a project arises in which you need to introduce additional functionality or customize the way something performs, then the development of said functionality will be left up to you.Secondly, we're also using principles such as the single responsibility principle to demonstrate how…
…using the “geo” commands of Redis. These commands were added in version 3.2, so you’ll need to have that installed on your development machine. Let’s do a short check—fire up redis-cli and type GEOADD. You should see an error message that looks like this:(error) ERR wrong number of arguments for…
…using the HTML5 canvas, we'll need to create a few things: One folder to hold the project files; let's call this folder piechart-tutorial. One HTML file index.html inside the piechart-tutorial folder. This file will contain the HTML code. One JS file script.js inside the piechart-tutorial folder. This file will contain…
…Using vQmod So, the question is, if you could use either vQmod or OCMOD to alter the core files, why would you use script notifications? It’s because of the fact that there may be multiple OCMOD plugins trying to alter the same code, and that could result in conflict. In…
…using variable names like this is called "shadowing" var bar = "BAR"; console.log(bar); // BAR } baz(); } foo(); // BARReplace bar with this, and the whole thing should clear up instantly!Traditionally, getting this to work as we expect plain old lexically-scoped variables to work requires one of two workarounds:var…
…using a widget or shortcode with the Facebook Events Calendar. This full-featured Facebook widget not only looks great, but has some great features as well. Features include: full and compact layouts quick-view popups for each day calendar and list views and more The Facebook Events Calendar is easy to use…
…using Vagrant. The article is more than two years old, but the idea is still relevant today. Even more, Vagrant has been recently gaining traction in the WordPress community with a special Vagrant configuration named VVV, short for Varying Vagrant Vagrants.VVV is a preset of the Vagrant configuration geared toward…
…using accounts such as Facebook, Twitter, and Google. Confirmable: This enables the sending of emails with instructions that will help in the verification of an account. Recoverable: This module helps in times when users forget their password and need to recover it. With this, the user will be able to…
…using Cloudinary SDKs, you can either specify the new format as an extension to the resource name or use the format parameter.Example:See the Demo.Automatically Adjust the Compression Quality Precise adjustment of compression quality and encoding settings can significantly reduce file sizes without noticeable degradation in visual quality. Finding the right…