Ask HN: Is there a react test framework that works?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. Material UI

    Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.

    > [0, 1, 2, -1, 10, 11, 12, 13, 14, -1, 26, 27, 28]

    What is that supposed to represent in terms of pagination? Are they cursors...?

    > I didn't think the code that generated the HTML from that was really worth testing because it was so superficial.

    For what it's worth (as a frontend person), pagination is traditionally one of the trickier things for us to make sure is working correctly. Off-by-one mistakes can happen for example (especially with zero-indexed items). Or sometimes the prev/next buttons don't correctly use the same math as the page 1, 2, 3, etc. buttons. It gets even harder if you don't know the total length in the beginning, or if you allow multiple page sizes or sorts/filters, or use lazy loading, etc.

    For those reasons I try to use a ready-built lib like MUI where all that is already tested internally (like https://github.com/mui/material-ui/blob/next/packages/mui-ma... or https://github.com/mui/material-ui/blob/next/packages/mui-ba...), but we still add our own automated and manual tests in our own usages.

    But then again I'm bad at math and division, lol, so maybe it's just my own weakness.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Latest Google Chome (Chromium) Release Breaks Popular Styling Libraries

    1 project | news.ycombinator.com | 24 Sep 2024
  • Mastering Material UI

    1 project | dev.to | 15 Sep 2024
  • Material UI vs Shadcn

    2 projects | dev.to | 17 Jul 2024
  • Zero-runtime CSS-in-JS implementation

    1 project | news.ycombinator.com | 29 Jan 2024
  • 6 CSS tools for more efficient and flexible CSS handling

    4 projects | dev.to | 16 May 2024

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?