Best of PerformanceOctober 2021

  1. 1
    Article
    Avatar of devtoDEV·4y

    Common React performance mistakes 💣

    React.memo is mainly used to memoize the whole component. Don't use it in a component that props is frequently changing. In-line functions shouldn't be called without arrow functions. Use the same set of rules that can be applied to useMemo too.

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

    How to Write Clean JavaScript Code with Functional Programming

    Refactor your imperative code into functional code to improve readability and performance. Immutable variables make it much easier to understand what a variable contains. Smaller Scopes make it Easier to Break Code into Sub-Functions. A failure of a particular test will narrow down the problem and cause a regression.

  3. 3
    Article
    Avatar of hnHacker News·4y

    How I made Google’s data grid scroll 10x faster with one line of CSS

    Google’s “Top linking sites” data grid has major scroll lag. This happens when choosing to display a larger dataset (500 rows) Instead of the default 10 results, the data grid produces 16,000+ DOM elements to display just 500 rows. The DOM is not very performant when containing many elements. And laying out that many elements is costly.

  4. 4
    Article
    Avatar of phProduct Hunt·5y

    DB Lens - Explore data, execute SQL, metrics, disk usage & more

    DB Lens is an opensource database client for Mac, Linux & Windows. It helps developers to explore, observe & understand the database in a better way. DB Lens is available in English, French, German, Italian, Spanish, Portuguese, Italian and Spanish. It is available as a free download or as a paid version.

  5. 5
    Article
    Avatar of streamStream·5y

    macOS Performance Comparison: Flutter Desktop vs. Electron

    Flutter has proven itself to be a good solution for mobile (Android and iOS) development, with decent performance that has steadily improved since its v1 release. A Flutter application that runs well on mobile should, in theory, run just as well, if not better, on desktop. For every good Electron app, there’s a bad one out there.