Tags: Code-Of-The-Crescent/react-testing-library
Tags
docs: add mboettcher as a contributor for code (testing-library#1063) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
fix(TS): export interface RenderHookResult (testing-library#1049)
feat: Add `renderHook` (testing-library#991) Co-authored-by: Michael Peyper <[email protected]> Co-authored-by: Kent C. Dodds <[email protected]>
docs: add Nokel81 as a contributor for bug, code (testing-library#1043) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
feat: Add support for React 18 (testing-library#1031) BREAKING CHANGE: Drop support for React 17 and earlier. We'll use the new [`createRoot` API](reactwg/react-18#5) by default which comes with a set of [changes while also enabling support for concurrent features](reactwg/react-18#4). To can opt-out of this change by using `render(ui, { legacyRoot: true } )`. But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings. Co-authored-by: Philipp Fritsche <[email protected]>
fix: Match runtime type of baseElement in TypeScript types (testing-l… …ibrary#1023)
fix: Resolve warning using the wrong react-dom entrypoint (testing-li… …brary#1018) BREAKING CHANGE: Drop support for React < 18.0.0-rc.1
PreviousNext