react-testing-library
chakra-ui
Our great sponsors
react-testing-library | chakra-ui | |
---|---|---|
16 | 344 | |
18,626 | 36,454 | |
0.6% | 1.0% | |
6.0 | 9.0 | |
5 days ago | 8 days ago | |
JavaScript | MDX | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-testing-library
-
ReactJS Good Practices
React Testing Library
-
automation testing
yeeeesss and as an advice use testID in most of matcher cases. also do not rely only on detox matcher try https://github.com/testing-library/react-testing-library
-
Some Very Cool (Underrated maybe) React Libraries
React Testing Library: This library provides simple and complete React DOM testing utilities that encourage good testing practices. It helps you write tests that are more focused on the behavior of your components rather than the implementation details. https://github.com/testing-library/react-testing-library
-
Please be Patient.. React 18 npm hell
For more information see: - The PR implementing 'renderHook' in React Testing Library
-
TinySource - Completely free TS/JS one-file source code snippets with tests, which can be copied to avoid extra dependencies (contributions welcome).
Really? It seems like it's already been replaced. Can you link to where it's not quite deprecated yet? https://github.com/testing-library/react-testing-library/releases/tag/v13.1.0
-
Next.js Setup | ESLint, Jest, React Testing Library, and Absolute Imports
^ jest for running the tests & @types/jest to help with IDE auto-complete when writing tests. @testing-library/react to render components in the testing environment & test them in a way that tries to mimic how users interact with them. @testing-library/jest-dom for additional DOM-related assertions.
-
Getting Started with React Cosmos
There are many ways to test component UIs and some testing frameworks help us achieve that, to mention but a few react-testing-library, where we write tests to check what a component has, for example, if we are testing a form component, we will write tests to check it a button is rendered, if there are input and/or select tags, etc and we usually see the results in our terminals but with React cosmos, we have a visual way to test our components (Visual TDD) which makes testing easier.
-
A tour guide to React Ecosystem
You can check out more about React Testing Library here.
-
Time to say goodbye - Enzyme.js
2,440,909 repositories are dependents of React Testing Library
-
React, TypeScript, and TDD
react-testing-library for test helpers and an assertion library
chakra-ui
-
React Component Libraries
Official Website: https://chakra-ui.com/
-
Material UI vs. Chakra UI: Which One to Choose?
Discover Chakra UI: Chakra UI Documentation
- Tailwind Color Palette Generator
-
Minified React error #426
This error related to the ReactMarkdown component and the useDisclosure hook in the @chakra-ui/react.
-
Shoelace: A forward-thinking library of web components
We settled on Chakra (https://chakra-ui.com/). Although we also abandoned our ambitions of a Next.js migration, so... I guess it didn't really end up mattering all that much anyway.
-
33 React Libraries Every React Developer Should Have In Their Arsenal
4.chakra-ui
-
β‘Top GitHub Repositories for UI Components
π Site β GitHub
-
Beyond the Basics: Exploring TailwindCSS and Linaria in Next.js - From Installation to Performance Optimization
Examples: radix-ui, chakra-ui, shadcn/ui, tailwind-ui.
-
Ask HN: Examples of best practice modern website design?
(I'm a frontend dev, but I came into the design side only later in my career, after having started as a full-stack programmer.)
I think this book is probably the single best resource I've seen on the topic: https://www.refactoringui.com/
It's a really easy-to-use format (one quick tip on each page, with clear examples).
It's from the people who made Tailwind, a CSS framework that's basically a reimagining of Bootcamp for the Javascript/component era.
Check out some of their templates: https://tailwindui.com/templates
These are lookalike "modern" designs that you can pay to use, or just draw inspiration from. Imitation == flattery and all that.
Along similar lines, check out the free Next.js templates: https://vercel.com/templates/next.js
If you want to build up from components instead, Tailwind offers a component library too: https://tailwindui.com/components
For React, I prefer the astoundingly good MUI framework (amazing components with lots of customizability, a good enough default look, and great documentation): https://mui.com/ If you end up going this route, using their Figma kit (https://mui.com/store/items/figma-react/) plus the Refactoring UI book from above should allow you to whip up a pretty standard-looking, "pretty enough" design in very little time. And then implementing it using the actual MUI lib would just take a few days.
There's also Ant Design: https://ant.design/
And Chakra UI: https://chakra-ui.com/
-----------
For more theoretical stuff (i.e., less visual but still very valuable), the UX research group Nielsen Norman still has a treasure trove of valuable advice: https://www.nngroup.com/articles/top-ten-guidelines-for-home...
You should know the basics of accessibility (beyond general usability, this alos means alt text, header levels, contrast ratios, readability, screen readers, keyboard navigation, special considerations for the hard of sight and hearing, etc.): https://www.w3.org/WAI/standards-guidelines/wcag/ or at least use an easy checklist tool like Microsoft's WCAG analyzer: https://accessibilityinsights.io/
- Ask HN: What's your favorite UI library?
What are some alternatives?
mantine - A fully featured React components library
antd - An enterprise-class UI design language and React UI library
styled-components - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress π
Tailwind CSS - A utility-first CSS framework for rapid UI development.
react-star-rating-input - React.js components for entering 0βN stars (N is 5 by default), or displaying 0βN stars
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
grommet - a react-based framework that provides accessibility, modularity, responsiveness, and theming in a tidy package
rebass - :atom_symbol: React primitive UI components built with styled-system.
primereact - The Most Complete React UI Component Library
base web - A React Component library implementing the Base design language
shadcn/ui - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
react-draft-wysiwyg - A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg