Best of JavaScriptMarch 2022

  1. 1
    Article
    Avatar of webtoolsweeklyWeb Tools Weekly·4y

    CSS Tools, Databases, JSON, SVG

    There are a number of different ways to remove empty items from an array in JavaScript. To remove blank values alone is something more specific, but there are a few ways to do it. You can find all the above examples in this CodePen. Now on to this week's tools!

  2. 2
    Article
    Avatar of devblogsDevBlogs·4y

    A Proposal For Type Syntax in JavaScript

    A proposal to bring optional and erasable type syntax to JavaScript. Because this new syntax wouldn’t change how surrounding code runs, it would effectively act as comments. We think this has the potential to make TypeScript easier and faster to use for development at every scale. We’re hoping to bring it forward in a proposal to TC39.

  3. 3
    Article
    Avatar of snipcartSNIPCART·4y

    The 6 Best JavaScript Frameworks to Use in 2022

    JavaScript frameworks are tried and tested tools for building scalable web applications. They contain a collection of JavaScript code libraries that provide pre-written JS code for standard programming features and tasks. Frameworks enable you to add functionalities like testing and linting to ensure you're shipping error-free code. There are more than 20 frameworks and 80 libraries for developers to choose from.

  4. 4
    Article
    Avatar of pointerPointer·4y

    5 coding interview questions I hate

    Interviewers often ask questions that have nothing to do with real-life development. These questions are often asked by non-technical people trying to conduct coding interviews by going over a question list found online. Either hire a real developer just for the interviews, or stick to soft-skill topics and experience anecdotes.

  5. 5
    Article
    Avatar of bitBits and Pieces·4y

    9 JavaScript Console Tips That Will Improve Your Debugging Skills

    There’s more to using console.log() to debug code. Learn more about the different JS console methods available. Take your CSS skills using them in the console to add styling to any log statement. 9 JavaScript Console Tips That Will Improve Your Debugging Skills.

  6. 6
    Article
    Avatar of devtoDEV·4y

    Important Javascript functions you have to know to be a better developer

    JavaScript allows you to deep copy an object by converting it into string and then back into object. You can toggle the visibility of an element using the style. visiabilty property and in case you want to remove it from the render flow, you can the. style.display property. The option parameter is the most useful attribute.

  7. 7
    Article
    Avatar of simplethreadSimple Thread·4y

    Web Standards Are Cool Again

    Remix is the latest open-source, fullstack, web development framework to hit the npm registry. It couples web fundamentals like the client/server model, HTTP caching, and native HTML forms with modern UI tools like dynamic page refreshing, nested routing, and React to create a truly remarkable way for developers to create fast, interactive, and portable user experiences.

  8. 8
    Article
    Avatar of medium_jsMedium·4y

    Why does JavaScript’s parseInt(0.0000005) print “5”?

    The parseInt(string, radix) function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems) The first step is to convert the number to string and the second step is the rounding operation. The answer will return 5 only because it is the only character that is a number till a noncharacter e, so the rest of it e-7 is discarded.

  9. 9
    Article
    Avatar of asayerasayer·4y

    Integrating Axios with React Hooks

    React Hooks provide a simple, functional way of building stateful components. They can be used to wrap different APIs or digestible functions. In this article you’ll learn how to use Axios as well as how to build a comfortable wrapper around it. Axios is one of the most popular HTTP JavaScript client libraries.

  10. 10
    Article
    Avatar of devgeniusDev Genius·4y

    Asynchronous Javascript Practical Explanation

    I will explain synchronous (sync) and asynchronous (async) in practical terms only. In synchronous process we do tasks one at a time. In asynchronous process, if we ever encounter long task which do not require our full attention, instead of waiting for the task to be completed, we do other stuffs first. I will use NodeJS to run Javascript as examples in this story.

  11. 11
    Article
    Avatar of bitBits and Pieces·4y

    Developing a Small World in Three JS

    Two weeks ago, we launched a little Spotify app in support of Metronomy’s awesome new album, Small World. The app invites fans to discover the “Eight Wonders of Metronsomy” by connecting with their Spotify account so we may determine how often they’ve been streaming the Small World playlist. Developing a 3D world using the Three JS library is really quite simple.

  12. 12
    Article
    Avatar of hashnodeHashnode·4y

    Local Storage and Session Storage (JavaScript)

    Local storage and session storage store key-value pairs. Local storage stores an array as a string, while session storage stores a pair. To get an array from local storage, we use JSON.parse. In order to remove a particular key- value pair, we can use localStorage.remove.

  13. 13
    Article
    Avatar of logrocketLogRocket·4y

    Creating animations with p5.js

    P5.js is a JavaScript library used for creative coding. It is free and open-source because they believe software, and the tools to learn it, should be accessible to everyone. The advantage of using the JavaScript programming language is its widespread availability and support everywhere. There are many more benefits, including the following:

  14. 14
    Article
    Avatar of prettierPrettier·4y

    Prettier 2.6: new singleAttributePerLine option and new JavaScript features! · Prettier

    This release includes a new singleAttributePerLine option. This is an option to print only one attribute per line in Vue SFC templates, HTML, and JSX. We’ve updated the version of TypeScript that we use to parse TS code to TypeScript 4.6. We've also added support for some new JavaScript syntax proposals via Babel.

  15. 15
    Article
    Avatar of bitBits and Pieces·4y

    A Future Made of JavaScript

    JavaScript can be used in our technical lives as well as our personal ones. You can embed and run your JS code into almost any type of open-source hardware. It’s just a matter of time before the AI community sees the real potential of bringing AI everywhere thanks to JS.

  16. 16
    Article
    Avatar of devdojoDevDojo·4y

    5 VSCODE Extensions for JavaScript Develeopers!

    JavaScript (ES6) Code Snippets contains code snippets for JavaScript in ES6 syntax for VSCode (supports both JavaScript and TypeScript) Quokka.js provides rapid JavaScript prototyping in your VS Code editor. ESLint runs ESLint rules on your code and integrates the result within the editor.

  17. 17
    Article
    Avatar of tsTypescript·4y

    Announcing TypeScript 4.6

    TypeScript is a language that builds on JavaScript and adds syntax for types. TypeScript can use this information to help you avoid mistakes like typos, missing arguments, or forgetting to check for null and undefined. It uses the information from these types to give you an amazing editing experience, powering things like code-completions, go-to-definition, renaming and more.

  18. 18
    Article
    Avatar of syncfusionSyncfusion·4y

    How to Build a Progress Bar in JavaScript Using a Linear Gauge

    The Syncfusion JavaScript Linear Gauge control is primarily used to show gauge-ish values like temperatures, quantities, speed. In this sample, we wanted to see if we could make a package delivery timeline or progress bar. We used the marker pointer and took advantage of the color property to show finished, unfinished, and current values.

  19. 19
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Create a Portfolio Website Using HTML, CSS, & JavaScript

    In this course, you will improve your HTML, CSS and JavaScript skills by building a portfolio website. You can use what you learn in this course to show off your work history and design skills. Watch the full course below or on the freeCodeCamp.org YouTube channel (3-hour watch)

  20. 20
    Article
    Avatar of ionicIonic Blog·4y

    Ionic vs. React Native: Performance Comparison

    Ionic and React Native compete in the cross-platform application development ecosystem. The two are different in terms of their approach and underlying architecture. Ionic fully subscribes to the philosophy of leveraging web technologies to deliver its applications. React Native also runs using JavaScript (JS), but does so under the guise of orchestrating platform-specific user interface (UI) controls.

  21. 21
    Article
    Avatar of devdojoDevDojo·4y

    19 Valuable GitHub Repositories for Beginner Developers 📚✨

    GitHub is a great place to start your web development career. I've compiled a list of some of the best repositories I know. Categories include basics, courses, handbooks, best practices, projects, interviews, and resources. I wish I knew them when I started myself, so treat them as a valuable shortcut.

  22. 22
    Article
    Avatar of medium_jsMedium·4y

    Scopes In Javascript.

    In Javascript, we have 3 types of scope: block scope, function scope and global scope. Scope defines the accessibility(visibility) of the variable, which means whether the variable is accessible or not. Before ES6 (2015), JavaScript had only Global Scope and Function Scope. I hope it helps you to understand scope in a better way.

  23. 23
    Article
    Avatar of indepthinDepth.dev·4y

    101 Javascript Critical Rendering Path

    Every webpage has a Document Object Model or a DOM. This is an object-based representation of the entire HTML page, which is in the parsed state. Once the HTML is parsed, a DOM tree is built. The DOM Tree contains objects. The CSS Object Model takes care of the styles present in association with the DOM tree.

  24. 24
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    React Hooks Fundamentals for Beginners

    With React Hooks, we can use state, and other React features, in a functional component. Hooks are JavaScript functions that manage the state's behaviour and side effects by isolating them from a component. The motivation behind writing this piece is to encourage beginners to think that "React Hooks is easy to learn, create, and use"

  25. 25
    Article
    Avatar of quick_codeQuick Code·4y

    Build Testing Rules for Your Design System

    Discover how to build advanced testing rules with ESLint to ensure compliance with Design System best practices. This is part 2 of the 3-parts “Design System Best Practices with ESLint” series. This series aims to help you encourage those consuming your design system to follow your best practices with the ESLint tool.