From b8c9bffb128907e50e3907a92337a60e5f620ae4 Mon Sep 17 00:00:00 2001 From: Goldyvaiiii <01234567vss@gmail.com> Date: Mon, 30 Mar 2026 23:04:46 +0530 Subject: [PATCH] docs: fix typos in comments and types --- src/pure.js | 2 +- types/test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pure.js b/src/pure.js index 0f9c487d..054830fa 100644 --- a/src/pure.js +++ b/src/pure.js @@ -265,7 +265,7 @@ function render( } let root - // eslint-disable-next-line no-negated-condition -- we want to map the evolution of this over time. The root is created first. Only later is it re-used so we don't want to read the case that happens later first. + // eslint-disable-next-line no-negated-condition -- we want to map the evolution of this over time. The root is created first. Only later is it reused so we don't want to read the case that happens later first. if (!mountedContainers.has(container)) { const createRootImpl = legacyRoot ? createLegacyRoot : createConcurrentRoot root = createRootImpl(container, { diff --git a/types/test.tsx b/types/test.tsx index 03b31d3f..10e6c303 100644 --- a/types/test.tsx +++ b/types/test.tsx @@ -138,7 +138,7 @@ export function wrappedRender( return pure.render(ui, { wrapper: Wrapper, - // testing exactOptionalPropertyTypes comaptibility + // testing exactOptionalPropertyTypes compatibility hydrate: options?.hydrate, ...options, })