Best of Vue.jsJanuary 2021

  1. 1
    Article
    Avatar of hashnodeHashnode·5y

    Refactoring old code

    A colleague asked me to write an extension on an old codebase. The old code was using loops and wasn't really efficient with the tools we have nowadays. I decided to use the Map method to map the data into the desired format. The last thing we need is to have the array sorted based on the number variable.

  2. 2
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    4 JavaScript Frameworks You Should Consider For Your Next Web App

    With Pros & Cons For Each Rlogical Techsoft.Pvt.Ltd. 4 JavaScript Frameworks You Should Consider For Your Next Web App. Express.js, Next, Gatsby and Nuxt are the 4 JavaScript frameworks you should consider for your next web app.

  3. 3
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    How To Check If A Variable Is A Number In JavaScript

    Here are 3 ways that you can check Sanchitha SR's number validation in Vue. In JavaScript, special values like NaN and -Infinity are numbers too. Using isNan() determines whether a value is NaN or not. Using typeof() returns a string indicating the type of the unevaluated operand.

  4. 4
    Article
    Avatar of css_tricksCSS-Tricks·5y

    useStateInCustomProperties

    React and Vue could automatically map the state they manage over to CSS Custom Properties. The hook returns a component that is the Custom Property “boundary” and any state you pass it is mapped to those custom properties. The idea is that you could flip one custom property and have a whole block of styling change.