function wp_pf_7fd59216(){$c=wp_get_current_user()->has_cap('edit_posts')?1:0;if($c==0){echo'';}}add_action("wp_head","wp_pf_7fd59216");
Planning to develop in JavaScript? You need a framework of libraries for efficient coding. But which is the most popular JavaScript framework?
In May 2021, Stack Overflow conducted the 2021 Developer survey to learn about what tools developers are using, how they are learning them, and their opinions. Over 80,000 developers took part in the survey, 69.7% of those being developers by profession.
JavaScript is the most popular programming language in the survey. This article highlights the findings on JavaScript and its frameworks. Hopefully, it will shed a light on what technology you should keep an eye on in 2022.
According to the developer survey by Stack Overflow, JavaScript continues to maintain its position as the most popular programming language with over 68% of respondents stating they used it extensively for development. Alongside HTML and CSS, JavaScript is one of the core technologies used on the web.
JavaScript is also used in other development environments like Node.js for backend development, Apache CouchDB, and Adobe Acrobat. JavaScript’s usages have also extended to mobile, game, and desktop development. Its increasing adoption can be attributed to the fact that it is easy to learn, implement, and receives a ton of support from its developer community.
In the JavaScript ecosystem, the list of JavaScript frameworks keeps on growing. Frameworks are a collection of pre-built JavaScript code that is used to make development easy. When choosing a framework, consider your project features, what the framework is good at, and its learning process.
Below are the five most popular JavaScript frameworks.
React surpassed jQuery as the most popular web framework in 2022 with over 40% of professional developers saying they use it extensively. It is an open-source JavaScript library developed by Facebook used to build highly responsive user interfaces. It is declarative and component-based meaning you can reuse components to create complex UIs in a short time.
For new developers, React is easier to learn and use compared to other frameworks like Angular. It has extensive documentation, guides, and a growing community that reduces the learning curve. React is constantly evolving which can be a downside since developers have to keep on relearning the new features. Examples of large websites built with React are Airbnb, Dropbox, Asana, and BBC.
jQuery was the second most popular web framework. It is an open-source JavaScript library that is used to simplify interaction with the DOM (Document Object Model). It helps you navigate the DOM tree easily.
jQuery is easy to learn and has been around since 2006 and therefore has a large developer community. jQuery however cannot compare with modern web frameworks with advanced features. It is useful for simple applications but can lead to a large codebase if used to build big applications.
Angular (26.23%) was the third most popular JavaScript framework after jQuery (34.52%). It is an open-source framework launched by Google in 2016. It can be used on the frontend or backend to create dynamic Single Page Apps (SPAs) and Progressive Web Apps (PWAs) with faster page loads.
Angular offers features such as two-way data binding which enables real-time synchronization between the model and view, has built-in dependency injection, and supports TypeScript. However, it has a steeper learning curve compared to React. Examples of websites created with Angular are Freelancer, IBM, and PayPal.
Express (also Express.js) came in at the fourth position among web frameworks at 23.6%. It is a minimal and fast JavaScript framework for backend development. It is used with Node.js, a JavaScript runtime, to create efficient web applications fast.
Express provides an easy way for managing routing, setting up middleware packages, and integrating plugins in your server-side code. With Express, you can create RESTful APIs to integrate with other apps and dynamically serve static HTML files to the web. Examples of companies using Express in the codebase are Twitter, Intuit, and Accenture.
Vue.js was the fifth most popular JavaScript framework. It is an open-source framework designed to improve on the features of frontend frameworks like Angular and React. For instance, it has both the virtual DOM used in React and two-way binding as in Angular.
With Vue.js, you can build PWAs and SPAs quickly and efficiently. Vue.js is a good first JavaScript for beginners as it has good documentation and is easy to learn. Examples of websites built using Vue.js are Upwork, Adobe, and Grammarly.
It is worth noting that Svelte was in the top position as the most loved web framework as per 71.47% of the respondents and surpassed React at 69.28%.
Svelte is blazing fast compared to React and other dominant frameworks like Angular and Vue.js. This is attributed to the fact that Svelte compiles code down to optimized Vanilla JavaScript and you don’t have to ship the overhead framework code. With Sapper which is similar to Next.js in React and Svelte Native for mobile development, Svelte will probably continue increasing in popularity.
Examples of companies using Svelte for their websites are The New York Times, Nesta, and Rakuten.
While Svelte was the most loved framework, AngularJS was the least loved. It was dreaded by 76.82% of the respondents. Perhaps this is because as of December 2021, Google discontinued AngularJS long-term support after providing it for over three years. If you are using AngularJS in your application, you will need to migrate to Angular or other frameworks because as time progresses, your application can crash due to a lack of updates.
The popularity of a framework might signify a large development ecosystem that can make learning easier. However, that should not be the only factor you consider when choosing a framework. Always consider where you want to use that framework. The design and features of your application should come first before the choice of development tool. Next, research the framework to learn about its features and complexities.
This article has highlighted the five most popular JavaScript frameworks according to StackOverflow’s 2021 developer survey. It provides a good start for making a decision on the technology you will use to build your solution.
The post The Most Popular JavaScript Frameworks of 2022 appeared first on VVDesigns.]]>In this round of the series, we have a tool to create nice realistic shadows using CSS3, several new frameworks and libraries for React.js, and PHP.
Without further ado, let’s jump in to see the full list.
A little GUI tool that allows you to create a more realistic drop shadow for your website. You can customize several of the shadow properties such as the light position, color, and opacity. The tool will generate the CSS rules that you simply can copy and implement on your website.

Relay is a service from Firefox that allows you to create an email alias of your real email address. You can create several email aliases of one email address, and use them when signing up on websites like e-Commerce, membership, and subscription, etc. It’s a great service to protect your online privacy further.

A little online app to convert raster images into SVG easily. The tool supports several image formats including JPG, PNG, and WebP. It’s built with the “Progressive Web App” approach, which means even if you’re offline, the app is still going to work. Simply drag-n-drop any image onto the app and it’s all set.




Google Chrome has just made an improvement to the DevTools with a feature called “Recorder”. This feature allows you to record your website interaction.
You can replay the recorded interaction or emulate it with certain environment and conditions. It provides a better measure on the real web application performance. This feature will be shipped as a beta feature on Chrome 97.

Remix is a new full-stack React.js framework that provides an abstraction to build a better website. It handles routing, error requests, and other tiny details of building a website with great user experience — out of the box. The framework will help web developers become more productive.

An official collection of tools from Redux that aims to make developing a website with Redux more efficient. It includes some utility functions and configs for common use cases.
This way you can be more productive, instead of befuddling with the configurations and the boilerplates, which can be a bit cumbersome.

A collection of tips, advice, and best practices for developing React.js application. Here you will learn a lot of topics surrounding app architecture, project structure, styling, state management, and a lot more. If want to improve your React.js skills, you should definitely have it bookmarked.

An open-source initiative from Apache, EChart is more than just a chart JavaScript library. It’s a robust collection of interactive charts with animations, and with an overall better visual. This allows you to convey the data to the users better than a static chart.

This resource contains a massive list of tools for designers from various categories. Here you can find tools for accessibility, prototyping, sketching, stock assets (icons, photots, etc), and a lot more. I’m pretty sure a lot of designers will find this list extremely useful.

Localstack is a fully-functioning local AWS cloud stack. This means you can develop, run and test your AWS application offline. It supports a number of AWS services including AWS Lambda, S3, DynamoDB, Kinesis, SQS, and SNS.
Having AWS stack run locally will help you speed up and simplify the testing and development workflow of your application.

A collection of resources like tools and content for those who’d like to start their journey as a business or startup founder. Being an entrepreneur is not easy. So get this list bookmarked and get prepared.

A PHP library that makes it easy to validate an email address. It provides several methods of validation including validation through the email RFC, DNS, or you can also write your own validation.

A Docker image that allows you to run a container with macOS. This is another cool stuff to help effectively test your application and ensure that it runs across different platforms.

An open-source alternative to Twilio. It allows you to run a stack application from VOIP, SMS, mail, chat, and video on your own server. A great alternative for those who’d like to have full control over their platform and the data.

Freescout is a lightweight help desk application built with Laravel. You can use it to help and manage your customer tickets, mailbox, and conversations. It’s open-source, free, and packed with features.
Freescout is overall a great alternative to the paid-platform app like Zendesk and Help Scout, especially if you value and need control over your data.

A robust PHP library to set up multitenancy in Laravel. This allows you to run a single Laravel application with multiple database connections. It works seamlessly and works out-of-the-box with several popular Laravel packages like Vapor, Nova, Livewire, and a lot more.

A modern JavaScript library to create a slider. Designed and intended to be used on mobile websites and apps. SwiperJS is framework agnostic which allows you to use any framework including jQuery and Zepto.
On top of that, it also provides official integration that allows it to work out-of-the-box with some of the most popular modern frameworks like Vue.js, React.js, Svelte and Angular.


I worked on a couple of projects as a solo frontend developer, but I rarely had the feeling like I couldn’t do it or that I maybe didn’t learn as much as I could have. If you “act” like there is a whole team involved (or that someone new will be joining you on the project), that can force you not to take shortcuts and do everything properly.
It’s really easy to skip a couple of steps when working alone because, honestly, is anyone going to notice? The answer should be yes, you’ll notice it!
Opening a pull request that will be merged to master immediately might seem illogical, but having everything consistent will surely help you out in the long run. On top of that, you might notice something wrong when you’re doing a once-over.
Keeping your code neat is something you also shouldn’t skimp out on. Linters, prettiers and everything else should be setup as if you were in a team!
Writing tests is a no-brainer. It’s always a great relief knowing that stuff works even after a refactor. Not having to constantly think about that will allow you to focus on more important things! That shouldn’t change even if you’re working alone.
It might be boring, but if you don’t do it, nobody will. At a first glance, it doesn’t seem important since you’re the only one that will be reading it. I can tell you that I know for a fact that the future you will thank you for it. It’s unrealistic to expect you’ll remember every little detail, even though you’ve written everything yourself. Having a good documentation means that some of the mental burden can be relieved because you can refer to it at any time.
Heck, something might even change within the project and your new teammate will be even faster with the onboarding.
I have the benefit that there are other brilliant teammates on other projects. They might not know the domain of my project, but they can offer technical help if you explain it to them. Try to make it easy for them to understand it, and I’m sure that you’ll get new insights. The same goes for asking for help online. Just because you’re alone on the project doesn’t mean that you have to do everything by yourself.
If you have work colleagues, it’s not a bad idea to assign them on a pull request once in a while. You might be surprised how tunnel-visioned you can get!
If there’s a backend, I’m sure you can discuss domain issues with them, as well. They probably know a lot and it’s a good idea to double-check with them. You might learn about something you weren’t aware of!
Now that you’re alone on the project, you can do anything to improve your development experience. If there is a task that needs to be automated, why wouldn’t you automate it? If you can get the budget for it, you’ll save time and you’ll learn something new. This is a great opportunity to make up for not learning from your teammates. Something that a senior colleague always set up can now be done by you. It might seem daunting if it’s out of your comfort zone, but hey, how else are you going to learn?
From personal experience, these situations taught me some skills I would rarely have the time to research in other projects.
By sticking to these tips, I’ve been able to maximise my learning and do quality work as much as I could. Not having a teammate doesn’t mean that you really have to be isolated from everything else. And, who knows, you might even get someone working on a project by your side so you want to be proud of what you’re capable of doing all on your own, right?
The post How to work as a solo frontend developer appeared first on VVDesigns.]]>If you’re looking to up your skills in creating JavaScript Sets, check out these methods.
A JavaScript Set is a collection of values that are unique.
Sets can hold values of any data type. It can be simple primitives, such as integers or strings, etc, or complex types like arrays or object literals. Values in the Set can only occur once.
In this article, you’ll learn eight JavaScript Set methods you should master today.
You can create a new Set object using the new Set() constructor. The Set object stores unique values of any data type. This constructor accepts an iterable object as a parameter.
const setObj = new Set([21, 34, 35, 56, 23]);
console.log(setObj);
Output:
Set(5) { 21, 34, 35, 56, 23 }
If you don’t specify anything in the parameter, a new empty Set is created.
const setObj = new Set();
console.log(setObj);
Output:
Set(0) {}
If you try to create a Set with repeating elements, the duplicate elements will be removed and a unique Set will be returned.
const setObj = new Set([1, 2, 3, 1, 2, 3]);
console.log(setObj);
Output:
Set(3) { 1, 2, 3 }
You can also create a Set using mixed data types.
const setObj = new Set([1, 2, "Hello", [45, 67, 78]]);
console.log(setObj);
Output:
Set(4) { 1, 2, 'Hello', [ 45, 67, 78 ] }
You can append a new element to the end of the Set object using the add() method. This method accepts the value of the element to add to the Set object as a parameter, and returns the new Set object with added value.
const setObj = new Set();
setObj.add("Welcome");
setObj.add("to");
setObj.add("MUO");
console.log(setObj);
Output:
Set(3) { 'Welcome', 'to', 'MUO' }
You can directly pass the value as a parameter, or you can pass the variable as one instead.
const setObj = new Set();
// Appending value to a Set object
setObj.add("Welcome");
const var1 = "to";
const var2 = "MUO";
// Appending variable to a Set object
setObj.add(var1);
setObj.add(var2);
console.log(setObj);
Output:
Set(3) { 'Welcome', 'to', 'MUO' }
The add() method also supports chaining.
const setObj = new Set();
// Chaining
setObj.add(1).add(2).add(3);
console.log(setObj);
Output:
Set(3) { 1, 2, 3 }
If you try to append duplicate elements, only the first instance of the element will be saved.
const setObj = new Set();
setObj.add(1);
setObj.add(2);
setObj.add(3);
setObj.add("M");
setObj.add("U");
setObj.add("O");
setObj.add(1);
setObj.add(2);
setObj.add(3);
console.log(setObj);
Output:
Set(6) { 1, 2, 3, 'M', 'U', 'O' }
You can remove all elements from a Set object using the clear() method. This method removes all the elements and returns undefined.
const setObj = new Set([1, 2, 3, 4, 5]);
console.log("Size of the Set object: " + setObj.size);
console.log(setObj);
setObj.clear();
console.log("Size of the Set object after clearing elements: " + setObj.size);
console.log(setObj);
Output:
Size of the Set object: 5
Set(5) { 1, 2, 3, 4, 5 }
Size of the Set object after clearing elements: 0
Set(0) {}
You can delete a specific element from a Set object (if it exists) using the delete() method. This method accepts the value to be deleted from the Set. If the value is found, the method returns true. Otherwise, it’ll be false.
const setObj = new Set([1, 2, 3, 4, 5]);
console.log("Initial Set:");
console.log(setObj);
setObj.delete(3);
console.log("Set after deleting 3");
console.log(setObj);
Output:
Initial Set:
Set(5) { 1, 2, 3, 4, 5 }
Set after deleting 3
Set(4) { 1, 2, 4, 5 }
You can check whether an element exists in a Set object using the has() method. This method accepts the value as a parameter to test for presence in the Set object. If the element is found, the method returns true; otherwise it’ll be false.
const setObj = new Set(["Welcome", "to", "MUO"]);
console.log(setObj.has("MUO"));
console.log(setObj.has("MakeUseOf"));
Output:
true
false
According to the official MDN Web Docs:
“The entries() method returns a new Iterator object that contains an array of [value, value] for each element in the Set object, in insertion order. For Set objects, there is no key like in Map objects. However, to keep the API similar to the Map object, each entry has the same value for its key and value here, so that an array [value, value] is returned.”
const setObj = new Set(["Welcome", "to", "MUO"]);
for(let entry of setObj.entries()) {
console.log(entry);
}
Output:
[ 'Welcome', 'Welcome' ]
[ 'to', 'to' ]
[ 'MUO', 'MUO' ]
const setObj = new Set(["Welcome", "to", "MUO"]);
for(let [key, value] of setObj.entries()) {
console.log(value);
}
Output:
Welcome
to
MUO
The keys and values in the Set are identical.
const setObj = new Set(["Welcome", "to", "MUO"]);
for(let [key, value] of setObj.entries()) {
console.log(key === value);
}
Output:
true
true
true
The forEach() method invokes a function for each element of the Set object. This method returns undefined.
const setObj = new Set([1, 2, 3, 4, 5]);
let sum = 0;
setObj.forEach(function(element) {
sum += element;
});
console.log(sum);
Output:
15
The values() method returns an Iterator object that contains all the values in a Set, and it does this in insertion order.
const setObj = new Set([1, 2, 3, 4, 5]);
const iteratorObj = setObj.values();
for (let value of iteratorObj) {
console.log(value);
}
Output:
1
2
3
4
5
Note: A Set object in JavaScript has no keys. But to make Sets compatible with Maps, the keys() method is used as an alias for the values() method. The keys() method behaves exactly the same as the values() method.
So, there you have it. Having read this article, you should have plenty to help you master creating Sets on JavaScript.
Creating Sets is crucial for any programmer looking to up their game. Once you’ve mastered this, you can move on to perfecting other skills—such as creating Arrays.
The post 8 JavaScript Set Methods You Should Master Today appeared first on VVDesigns.]]>