~/talk

Beyond React Testing Library: Testing React Libraries (and library-like code)

watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/beyond-react-testing-library-testing-react-libraries-and-library-like-code-2425
Talkat React Day Berlin 2024 · on Monday, 2024-12-16· at 16:10· [testing, react]

Covers limitations of Testing Library for library code and explains how Apollo Client uses the React Profiler to produce a stream of render events for stream-based testing of render counts, order of DOM changes, Suspense behavior (including suspended vs committed renders), and rerender detection. Describes a released library implementing this approach and also addresses testing library code across environments—React Server Components, streaming SSR, and the Browser—including verifying exports fields and rendering components in isolation for those targets.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.