You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backfill JSDoc examples on previously-undocumented public APIs flagged in
the v2 docs categorization audit (`getObserver`, `isDisposed`,
`createRenderEffect`, `onCleanup`, `createErrorBoundary`,
`createLoadingBoundary`, `createRevealOrder`, `flatten`,
`enableExternalSource`, `NotReadyError`, `NoHydration`, `Hydration`,
`isServer`, `isDev`).
Normalize inline JSDoc code fences to `@example` tags on the JSX components
(`<For>`, `<Repeat>`, `<Switch>`, `<Errored>`, `<Reveal>`, `dynamic`,
`<Dynamic>`) so the doc generator can extract examples uniformly.
Tag cross-package wiring and compiler-emitted exports with `@internal` so
the doc generator can hide them from the user-facing surface (`getContext`,
`setContext`, `createOwner`, `getNextChildId` / `peekNextChildId`,
`enforceLoadingBoundary`, the store / refresh brand symbols, `\$DEVCOMP`,
`sharedConfig`, `enableHydration`, `NoHydrateContext`, the `ssr*` helpers
in `server-mock`, `escape`, `resolveSSRNode`, `mergeProps`, `ssrHandleError`
/ `ssrRunInScope`).
Mention `isEqual` as the default on the `equals` field of `SignalOptions`
and `MemoOptions` so the equals comparator has a docs landing spot.
Made-with: Cursor
Docs prep for the 2.0 reference auto-generation pass: backfill JSDoc examples on previously-undocumented public APIs (`getObserver`, `isDisposed`, `createRenderEffect`, `onCleanup`, `createErrorBoundary`, `createLoadingBoundary`, `createRevealOrder`, `flatten`, `enableExternalSource`, `NotReadyError`, `NoHydration`, `Hydration`, `isServer`, `isDev`); normalize inline JSDoc code fences to `@example` tags on the JSX components (`<For>`, `<Repeat>`, `<Switch>`, `<Errored>`, `<Reveal>`, `dynamic`, `<Dynamic>`); and tag cross-package wiring / compiler-emitted exports with `@internal` so the doc generator can hide them from the user-facing surface (`getContext`, `setContext`, `createOwner`, `getNextChildId`, `peekNextChildId`, `enforceLoadingBoundary`, `sharedConfig`, `enableHydration`, `NoHydrateContext`, `$DEVCOMP`, `$PROXY`, `$REFRESH`, `$TRACK`, `$TARGET`, `$DELETED`, `ssr*` helpers, `escape`, `resolveSSRNode`, `mergeProps`, `ssrHandleError`, `ssrRunInScope`). Also extends the `equals` field JSDoc on `SignalOptions` / `MemoOptions` to mention `isEqual` as the default.
0 commit comments