react-testing-library VS react-beautiful-dnd

Compare react-testing-library vs react-beautiful-dnd and see what are their differences.

react-testing-library

🐐 Simple and complete React DOM testing utilities that encourage good testing practices. [Moved to: https://github.com/testing-library/react-testing-library] (by kentcdodds)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
react-testing-library react-beautiful-dnd
5 71
16,049 32,488
- 0.9%
6.0 5.7
about 2 years ago 14 days ago
JavaScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of react-testing-library. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-15.
  • fireEvent not properly calling event in react-testing-library
    2 projects | /r/codehunter | 15 May 2022
    I'm currently testing an input using Jest & react-testing-library. I'm trying to test whether the onChange function fires whenever my input's field changes. Here's an example of my code:
  • React testing library on change for Material UI Select component
    1 project | /r/codehunter | 26 Mar 2022
    I am trying to test the onChange event of a Select component using react-testing-library.
  • How to query by text string which contains html tags using React Testing Library?
    1 project | /r/codehunter | 18 Mar 2022
    Reactjs Current Working Solution Using this html: Name: Bob (special guest) I can use the React Testing Library getByTestId method to find the textContent: expect(getByTestId('foo').textContent).toEqual('Name: Bob (special guest)') Is there a better way? I would like to simply use this html: Name: Bob (special guest) And use React Testing Library's getByText method like this: expect(getByText('Name: Bob (special guest)')).toBeTruthy() But this does not work. So, the question… Is there a simpler way to use React Testing Library to find strings of text content with the tags striped out? Answer link : https://codehunter.cc/a/reactjs/how-to-query-by-text-string-which-contains-html-tags-using-react-testing-library
  • TypeError: scrollIntoView is not a function
    1 project | /r/codehunter | 17 Mar 2022
    I am new to react-testing-library / jest and attempting to write a test to see if the navigation of routes (using react-router-dom) is performed correctly. So far I have been following the README and this tutorial on how to use.
  • Find element by id in react-testing-library
    1 project | /r/codehunter | 15 Mar 2022
    I'm using react-testing-libarary to test my react application. For some reason, I need to be able to find the element by id and not data-testid. There is no way to achieve this in the documentation.

react-beautiful-dnd

Posts with mentions or reviews of react-beautiful-dnd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.

What are some alternatives?

When comparing react-testing-library and react-beautiful-dnd you can also consider the following projects:

Sinon.JS - Test spies, stubs and mocks for JavaScript.

react-dnd - Drag and Drop for React

wordle - Created my own Wordle app with dark mode compatibility using ReactJS

dnd-kit - The modern, lightweight, performant, accessible and extensible drag & drop toolkit for React.

reactjs-interview-questions - List of top 500 ReactJS Interview Questions & Answers....Coding exercise questions are coming soon!!

react-dropzone - Simple HTML5 drag-drop zone with React.js.

cv-generator - Using React, Google Sheets, and CSS to create a dynamic cv and cover letter generator.

react-grid-layout - A draggable and resizable grid layout with responsive breakpoints, for React.

nested-dnd - Proof of concept for doing a nested drag and drop in React

react-draggable - React draggable component

framer/motion - Open source, production-ready animation and gesture library for React

react-testing-library - 🐐 Simple and complete React DOM testing utilities that encourage good testing practices.