Skip to content
CAI
Software that uses CAICheck a score

japgolly/scalajs-react

51.3

Adequate · 14 November 2026

32.5k

lines of production code

Scala

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Cats and Cats Effect integration for Callbacks

Users can now use \CallbackTo\ and \AsyncCallback\ with Cats typeclasses like \MonadError\ and \Sync\, and convert between \CallbackTo\/\AsyncCallback\ and Cats Effect's \SyncIO\/\IO\. This includes new \callbackExtCats\ and \callbackExtCatsEffect\ modules, updated \DefaultEffects\ to support \IO\ and \SyncIO\, and corresponding tests for the new async and sync behaviors.

(repo-wide) · high confidence

Added Cats and Cats Effect integration support

Users can now leverage Cats and Cats Effect typeclasses within the library. This change introduces implicit instances for Cats' Eq, Reusability, Profunctor, MonadThrow, and Monoid, allowing seamless interoperability with existing React components. Additionally, it provides specific Effect implementations for Cats Effect's IO and SyncIO, enabling users to utilize these effect types directly in their applications.

library/coreExtCatsEffect · high confidence

Added Monocle 2 and Monocle 3 integration modules

New \extraExtMonocle2\ and \extraExtMonocle3\ modules have been added to provide integration between scalajs-react and the Monocle 2 and Monocle 3 libraries respectively. These modules expose \ReactMonocle\ objects that extend component state access and state snapshots with Monocle optics (lenses, isos, prisms, etc.), allowing users to update and transform React component state using Monocle's functional optics. The implementation includes internal support for Monocle modifiers and state snapshot zooming, with specific handling for Cats instances in the Monocle 2 module to minimize JS output size.

library/extraExtMonocle2, library/extraExtMonocle3 · high confidence

Introduce Cats Effect integration for Callback and AsyncCallback

Adds new \CallbackCats\ and \CallbackCatsEffect\ modules that provide Cats Effect typeclass instances (\Sync\, \Async\, \MonadError\) for \CallbackTo\, \AsyncCallback\, and \CallbackOption\. This enables seamless interoperability between the library's callback system and Cats Effect's \IO\, \SyncIO\, and cancellation semantics, including specific handling for \onCancel\ finalizers and sequential execution of applicative operations. Also in this area: 2 commits (1 fix) modifying library/callbackExtCatsEffect.

library/callbackExtCatsEffect/src/test · medium confidence · unverified

Introduce new Effect, Trampoline, and ConsoleHijack utilities

The \library/util\ module now includes a new \Effect\ type class hierarchy (with \Sync\, \Async\, and \Dispatch\ subtypes) and corresponding syntax extensions for managing side effects, along with a \Trampoline\ implementation for safe recursive execution. A new \ConsoleHijack\ utility allows intercepting and modifying browser console methods (such as making warnings fatal), and several supporting utilities like \DomUtil\, \JsUtil\, and \NotAllowed\ have been added to the package.

library/util · high confidence

New CI and development utility scripts

The repository now includes a suite of new shell and Scala scripts in the \bin/\ directory to streamline development and release workflows. The \bin/ci\ script automates the continuous integration process by detecting the OS, displaying Java and Node versions, installing npm dependencies, and running SBT tests for both Scala 2 and Scala 3 in development and production modes. Additional utilities include \bin/gen-router\ and \bin/gen-reusability\ for generating Scala code to support up to 22 router parameters and tuple reusability, \bin/gen-gv-images\ for regenerating documentation SVGs, \bin/update\_react\_version\ and \bin/update\_version\_in\_docs\ for managing version strings across the codebase and documentation, and \bin/todo\ for aggregating TODO comments in Scala source files.

bin · high confidence

New React 19+ feature components: Activity, ViewTransition, Context, Fragment refs, and Profiler update

The library now exposes wrappers for several React features, primarily targeting React 19+. You can use React.Activity to hide and restore UI state, and React.ViewTransition to animate component trees with enter, exit, share, and update callbacks. React.Context now supports an apply method for providing values, and ReactFragment gains withRef and withKeyAndRef methods to attach refs to fragment instances. Additionally, the Profiler facade has been simplified by removing the interactions field from its OnRenderData, aligning with React's current API.

library/coreGeneric/src/main/scala/japgolly/scalajs/react/feature · high confidence

New coreBundleCallback module with callback-based effects and event extensions

A new library module, coreBundleCallback, has been introduced to provide a synchronous, callback-based execution model for React components. This module defines DefaultEffects to map Sync operations to CallbackTo and Async operations to AsyncCallback, establishing the default effect types for this bundle. It also introduces ReactCallbackExtensions, which add implicit conversions and utility methods to the callback types, including key event switching logic for keyboard events and an asEventDefault method that conditionally executes callbacks based on whether the browser event's default action has been prevented. The package object exposes these extensions and the core general functionality, allowing users to build React components using a callback-centric API without requiring an external effect system.

library/coreBundleCallback · high confidence

New example page structure and component library

The ghpages documentation site now uses a new \ExampleComponents\ module to render a sidebar menu and content body for examples, and an \ExamplesPage\ module that defines the \Example\ and \ExampleCollection\ abstractions. This change introduces a structured list of JavaScript-side examples (Hello World, Timer, Todo, Hooks, Refs, Product Table) and Scala-side examples (Touch events, StateSnapshot, CallbackOption, WebSockets, Tri-state Checkbox, AJAX, Suspense, Cats Effect), each with its own router path and render function, replacing the previous flat or unstructured example presentation.

library/ghpages/src/main/scala/ghpages/pages · high confidence

New extra utilities for routing, state, and effects

The library/extra module now includes several new capabilities: router macros (Scala 2 and 3) and a ResolutionWithProps type to map route captures to case classes; effect-agnostic lifecycle and event helpers (OnUnmountF, ListenableF, BroadcasterF, EventListenerF) that integrate with the component build DSL; a pull-based reactive variable system (Px) with Var, ThunkM, ThunkA, Map, and FlatMap; a reusable state snapshot system (StateSnapshot/StateSnapshotF) with a useStateSnapshot hook and lens support; and TimerSupportF with setTimeout, setInterval, and guaranteed-interval timers that auto-cleanup on unmount. Additionally, a purely functional AJAX builder (AjaxF) and a TriStateCheckbox component are provided.

library/extra · high confidence

New ghpages documentation site and example suite

The library now includes a complete GitHub Pages documentation site and a comprehensive suite of examples demonstrating the library's capabilities. This adds a local Python-based static file server for previewing the docs, along with Scala.js React examples covering Hooks (useState, useEffect, OnUnmount, TimerSupport), AJAX interactions, Refs, and Suspense. The site also features utility components for side-by-side code comparison, syntax highlighting, and error handling, as well as an internal asynchronous test suite to validate core behaviors like zip, race, and AJAX operations.

library/ghpages · high confidence

New ghpages examples for AJAX, CallbackOption, Cats Effect, and more

The \library/ghpages/src/main/scala/ghpages/examples\ directory now includes a comprehensive set of new example components demonstrating key scalajs-react patterns. These include \AjaxExample1\ for handling asynchronous requests with state tracking, \CallbackOptionExample\ for composable callback logic with keyboard navigation, \CatsEffectExample\ showing integration with Cats Effect \IO\ and \SyncIO\, \StateSnapshotExample1\ and \StateSnapshotExample2\ illustrating decoupled state management via lenses, and standard UI examples like \TodoExample\, \TimerExample\, \TouchExample\, \TriStateCheckboxExample\, \WebSocketsExample\, and \ProductTableExample\. These files serve as documentation and reference implementations for the library's capabilities.

library/ghpages/src/main/scala/ghpages/examples · high confidence

New test utilities for React 18 and router mocking

The test utility library now includes support for React 18's concurrent rendering model via \act\ and \actSync\ methods in \ReactTestUtils\, \TestReactRoot\, and \TestDomWithRoot\, allowing tests to properly handle async updates. It also introduces \MockRouterCtl\ and \MockRouterCtlF\ to help test router interactions by recording navigation events, and provides \ReactTestVarF\ for mocking state changes with history tracking. Additionally, \TestDom\, \TestContainer\, and \TestBroadcaster\ offer new helpers for DOM assertions and event broadcasting in tests.

library/testUtil/src/main/scala/japgolly/scalajs/react/test · high confidence

New testing-library-dom integration module

Added a new \testingLibraryDom\ module that provides Scala.js bindings for the \@testing-library/dom\ JavaScript library. This includes a \FireEvent\ facade to access the underlying \fireEvent\ functions, a \Simulate\ object offering a comprehensive set of DOM event simulation methods (such as click, keyDown, drag, and touch events), a \SimEvent\ object for constructing keyboard and mouse event data, and a \Simulation\ class to allow composition of event sequences. This enables users to simulate user interactions in their React components using the Testing Library API.

library/testingLibraryDom · high confidence

New type-safe, composable hooks DSL with context-aware component builders

The hooks API has been refactored to provide a statically-guaranteed, composable DSL that enforces React's hook rules at compile time. This change introduces a step-based builder pattern (via \Api.Primary\ and \Api.Secondary\) that chains hook calls while tracking their return types in a \HookCtx\ (e.g., \P1\, \P2\), ensuring hooks are called in a consistent order. It adds new component builders (\HookComponentBuilder.ComponentP\, \ComponentPC\) that integrate this DSL directly into component definition, supporting props and children with reusable render logic. The diff also adds support for new React 18+ hooks such as \useTransition\, \useDeferredValue\, \useId\, \useActionState\, \useFormStatus\, \useOptimistic\, and \useEffectEvent\, exposing them through the new type-safe API.

library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks · high confidence

New vdom core abstractions and CSS unit helpers

The vdom package now exposes foundational types and utilities: \VdomNode\ and \VdomElement\ traits with \rawNode\/\rawElement\ accessors and \static\ macros for optimized rendering, plus a \CssUnits\ extension that lets you write CSS lengths (e.g., 10.px, 50.pct) without strings. These changes restructure the vdom layer and improve ergonomics for style values.

library/coreGeneric/src/main/scala-2/japgolly/scalajs/react/vdom · high confidence

React 19 facade with new hooks and root APIs

The \library/facadeMain\ module has been rewritten to support React 19, introducing facades for new hooks including \useActionState\, \useOptimistic\, and \useEffectEvent\, alongside \useId\ and \useTransition\. The rendering API now uses \createRoot\ and \hydrateRoot\ from \react-dom/client\ with options for error handling (\onCaughtError\, \onUncaughtError\), while \ReactDOM.render\ is removed. Additional features include \useFormStatus\, \FragmentInstance\ for fragment refs, \ViewTransition\ support, and resource prefetching methods (\prefetchDNS\, \preconnect\, \preload\, \preinit\).

library/facadeMain · high confidence

Support for React's getDerivedStateFromError lifecycle method

The component builder now supports the \getDerivedStateFromError\ lifecycle method, allowing components to update state in response to errors thrown during rendering. This is implemented via new internal builder structures (\InitState\, \Lifecycle\, \LifecycleF\) that manage component lifecycle hooks and state initialization, enabling developers to handle error boundaries more effectively within the library's API.

library/coreGeneric/src/main/scala/japgolly/scalajs/react/component/builder · high confidence

Upgrade to React 18 concurrent features and React 19 APIs

The library now supports React 18's concurrent rendering model by introducing \ReactDOMClient\ with \createRoot\ and \hydrateRoot\ methods, replacing the legacy \ReactDOM.render\. It adds new configuration options for these roots, including \onCaughtError\ and \onUncaughtError\ handlers via \ReactOptions\. The update also introduces support for React 19 features, exposing \React.Activity\, \React.ViewTransition\, \React.use\, and \ReactDOM\ utilities like \prefetchDNS\, \preconnect\, \preload\, \preinit\, and \requestFormReset\. Internally, the component construction system has been refactored with a new \CtorType\ hierarchy and a \Renderable\ typeclass to handle rendering logic more flexibly.

library/coreGeneric/src/main/scala/japgolly/scalajs/react · high confidence

js-sandbox upgraded to React 19 with new demo components

The js-sandbox environment has been upgraded to React 19.3.0, utilizing the new ESM import mechanism via esm.sh. This update introduces several new demonstration files: events.js showcases the React.Profiler API and event handling; hooks.js demonstrates the useState hook; lifecycle-1.js provides a detailed test of component lifecycle methods and error boundaries; and simevent-kb-gen.js illustrates keyboard event processing. The sandbox now serves as a practical reference for these React 19 features.

js-sandbox · high confidence

Removals

Removal of legacy ScalaJS DOM entry point

The legacy \Golly.scala\ entry point, which previously initialized the application by directly manipulating the DOM via \org.scalajs.dom\, has been removed. This change eliminates the manual DOM creation logic (creating an h2 element and appending text) in favor of the new React-based architecture.

src/main · high confidence

Behavioural changes

2 commits (1 fix) modifying library/callbackExtCats

A change to existing behaviour in library/callbackExtCats — 2 commits (1 fix), 1 file: “Move main library into its own dir”; “Fix \CallbackCats.callbackCatsMonadAsyncCallback\ so \ap\, \ap2\, and \map2\ execute sequentially rather than in parallel”.

library/callbackExtCats · medium confidence · unverified

2 commits (1 fix) modifying library/callbackExtCatsEffect

A change to existing behaviour in library/callbackExtCatsEffect — 2 commits (1 fix), 1 file: “Fix double invocation of cancellation finaliser callback in \AsyncCallbackToIO\”; “Un-Americanize”. Also in this area: Introduce Cats Effect integration for Callback and AsyncCallback.

library/callbackExtCatsEffect/src/main · medium confidence · unverified

Developer experience improvements in the library build

The library module now includes dedicated configuration for Scalafix to enforce import organization and unused code removal, along with SBT command aliases to simplify navigating between sub-projects. A documentation symlink has been added to streamline documentation access, and version handling has been updated to produce stable SNAPSHOT identifiers by stripping timestamps.

library · high confidence

Documentation restructured into dedicated topic files

The documentation has been reorganized from a monolithic structure into a set of dedicated markdown files (e.g., CALLBACK.md, CONFIG.md, HOOKS.md, MODULES.md) to improve navigation and clarity. This change introduces specific guides for using React Hooks with both composition-based and builder-style DSLs, details the new effect-agnostic library authoring patterns introduced in v2, and provides updated configuration instructions for compile-time and runtime settings.

doc · high confidence

Fixes to HTML attributes, styles, and API corrections

This update corrects several issues in the vdom library: \onAuxClickCapture\ is now properly typed as a mouse event; \aria.rowCount\ accepts an \Int\ instead of a \String\; \backgroundOrigin.paddingBox\ now correctly maps to the CSS value \padding-box\; \flexWrap.wrapReverse\ uses the valid CSS value \wrap-reverse\; and the color \fuschia\ is corrected to \fuchsia\ (with the old name deprecated). Additionally, \alignContent.spaceBeteween\ is fixed to \spaceBetween\ (with the typo version deprecated), and \mask.uri\ is deprecated in favor of \mask.url\. Unused code, including \VdomBuilder.ToVdomElement\ and \CurrentColor\, has been removed. Also in this area: Reworked vdom library structure and expanded attribute support.

library/coreGeneric/src/main/scala/japgolly/scalajs/react/vdom · high confidence

Generate custom UMD build of React for unit tests

React v19 no longer ships UMD builds, which are required for Scala.js unit tests because JSDOM does not support module-based imports. This change introduces a new \react-umd\ package that bundles React (upgraded to version 19.3.0) into a UMD format using Vite, allowing the test environment to load \dist/react.umd.js\.

react-umd · high confidence

Introduce Delayed type and refactor component core abstractions

The component core library now uses a new \Delayed\ type (wrapping \Trampoline\) to handle monadic hooks and delayed rendering, replacing the previous implementation. This change is accompanied by a structural reorganization of the component model into new \Generic\, \Js\, \JsFn\, \JsForwardRef\, and \Scala\ modules, which define the core traits for component construction, mounting, and raw type handling. Additionally, a \DerivedDisplayName\ trait is added to automatically generate better default display names for components using source code metadata.

library/coreGeneric/src/main/scala/japgolly/scalajs/react/component · high confidence

Introduce new GhPages entry point with React 18 root API

The library now includes a new \GhPages.scala\ entry point that initializes the application using \ReactDOMClient.createRoot\, adopting the React 18 root API instead of the legacy \ReactDOM.render\. This file also defines the core routing configuration, navigation layout, and base URL logic for the ghpages demo site.

library/ghpages/src/main/scala/ghpages · high confidence

New callback library components and robustness fixes

The callback library now includes new utilities: \RateLimit\ for throttling function calls, \Timer\ for managing asynchronous delays, and \SyncPromise\ for synchronous promise-like behavior. Additionally, \SyncPromise.complete\ has been fixed to ensure all remaining callbacks are executed even if an earlier one throws an exception, and \EffectCallback.callbackOption.dispatch\ has been corrected to properly dispatch its underlying representation.

library/callback/src/main/scala · high confidence

Project infrastructure and documentation overhaul

The repository has been restructured with significant updates to its development environment and documentation. A Nix-based development shell (flake.nix) and environment configuration (.envrc) have been added to standardize local setup, alongside an updated .gitignore that excludes modern IDE and build artifacts (e.g., .metals, .bsp, .bloop). Documentation has been reorganized, with a new CODE\_OF\_CONDUCT.md and CONTRIBUTING.md added, and the legacy HISTORY.md replaced with a pointer to the new doc/ directory. The README.md has been updated to reflect current requirements (React ≥ 19, Scala ≥ 2.13, Scala.JS ≥ 1.20) and lists external resources. Additionally, the obsolete index.html demo file has been removed.

(repo-wide) · high confidence

Rebuilt component builder API for Scala 3 with macro-based entry points

The core component builder in \library/coreGeneric\ has been rewritten for Scala 3, introducing a new \EntryPoint\ object that uses inline macros to automatically generate component display names. The \ComponentBuilder\ now exposes a fluent, step-based API (Step1 through LastStep) for defining props, state, backends, and render functions, while integrating support for React lifecycle methods like \getDerivedStateFromProps\. This change replaces the previous Scala 2 implementation, removing deprecated v1/v3 code and aligning the builder with Scala 3's compile-time capabilities.

library/coreGeneric/src/main/scala-3/japgolly/scalajs/react/component · high confidence

Refactor callback library to Scala 3 with inline optimizations

The callback library has been restructured to support Scala 3 alongside Scala 2, introducing significant performance improvements through the use of \inline\ methods and extension functions. In the Scala 3 sources, core types like \Callback\, \CallbackTo\, \AsyncCallback\, and \CallbackOption\ now utilize \inline\ definitions for methods such as \apply\, \lift\, \pure\, \map\, and \flatMap\, reducing runtime overhead. Additionally, \CallbackOption\ gains extension methods in Scala 3 (e.g., \toCallback\) to replace implicit conversions, enhancing type safety and usability. The Scala 2 sources remain largely unchanged in logic but are maintained in a separate directory structure to ensure cross-version compatibility. Also in this area: Improved exception handling and cancellation support in async callbacks.

library/callback/src/main/scala-2 · high confidence

Refactored component builder API and added getDerivedStateFromError support

The component builder API in the core library has been restructured into a new \ComponentBuilder\ and \EntryPoint\ structure, replacing previous implementations. This change introduces support for the React 16+ \getDerivedStateFromError\ lifecycle method, allowing components to handle error boundaries more effectively. Additionally, code deprecated in scalajs-react versions 1 and 3 has been removed, and the \.renderBackend\ method is now deprecated, streamlining the API for modern React patterns.

library/coreGeneric/src/main/scala-2/japgolly/scalajs/react/component · high confidence

Refactored vdom internals and expanded action callback support

The library's Scala 2 core has been reorganized into a dedicated directory, introducing new internal macro implementations for Reusability derivation and restructuring the vdom module with new files for attributes, tag modifiers, and tag definitions. For users, the most visible change is in the vdom API: \action\ and \formAction\ attributes now accept a broader range of callback types (\String \| Callback \| AsyncCallback\), and the \ActionCallback\ mechanism has been refined to remove unsafe \asInstanceOf\ casts, providing a safer and more flexible way to handle form submissions and side effects.

library/coreGeneric/src/main/scala-2 · medium confidence

Scala 3 vdom implementation with compile-time CSS unit optimization

The vdom layer in the Scala 3 library has been rewritten to leverage Scala 3 macros and inline features. This introduces compile-time optimization for CSS units (e.g., \1.px\), where numeric values are converted to strings with suffixes (like 'px') at compile time rather than runtime, improving performance. The change also includes new internal configuration proxies for compile-time settings and updated type definitions for vdom nodes and elements to align with the Scala 3 ecosystem. Also in this area: Fixes to Scala 3 macro behavior, component builder, and VDOM utilities; Scala 3-specific vdom and reusability macro implementations.

library/coreGeneric/src/main/scala-3/japgolly/scalajs/react/vdom · medium confidence

Scala 3-specific callback implementations added

New Scala 3-specific source files (Callback.scala, CallbackOption.scala, CallbackTo.scala) were added to the callback library to provide idiomatic Scala 3 support. These implementations fix several behavioral issues present in the previous version: \Callback.ResultGuard\ now correctly rejects \() =\> A\ and \js.Function0\[A\]\ types; \CallbackOption.traverse\\ and \sequence\\ are now available; \CallbackTo.future\ and \CallbackOption.{when, unless}\ are now properly by-name to ensure correct lazy evaluation; and \CallbackTo.windowOpen\ now correctly handles null return values from the browser's window.open API.

library/callback/src/main/scala-3 · high confidence

Scala 3-specific vdom and reusability macro implementations

This change introduces Scala 3-specific source files for the core library, including \ReusabilityMacros\ for deriving reusability instances via macros, \Attr\ defining the vdom attribute system with \Action\ and \Event\ handlers, and \TagMod\ for composing vdom modifiers. These files provide the Scala 3 implementation details for the vdom rendering and component reusability features. Also in this area: Fixes to Scala 3 macro behavior, component builder, and VDOM utilities.

library/coreGeneric/src/main/scala-3/japgolly/scalajs/react · medium confidence

Fixes

Fixes to AsyncCallback error handling, cancellation, and concurrency

The \AsyncCallback\ implementation in \library/callback\ has been corrected to address several critical bugs in asynchronous control flow. Synchronous exceptions thrown by task callbacks are now properly caught and propagated, and failures in \AsyncCallback.sync\ are re-thrown as expected. Cancellation logic has been hardened: \AsyncCallback.cancel\ no longer cancels prematurely before execution, cancellation state is correctly propagated across tasks in \traverse\\ (and related methods like \sequence\\ and \awaitAll\), and \onCancel\ finalisers are now properly unregistered when a callback fails. Additionally, \AsyncCallback.debounce\ no longer hangs indefinitely when the underlying function fails, \flatMap\ and \map\ correctly stop evaluating after cancellation, and \handleError\/\maybeHandleError\ now catch synchronous exceptions in recovery functions. The \Barrier.isComplete\ state is also fixed to return true when the operation is complete.

library/callback · high confidence

Test coverage

Add MIMA compatibility test for Hooks.UseRef in Scala.js React 2.0.0; Add downstream integration test fixtures for React components; Add downstream integration tests for Scala.js React; Add downstream integration tests for the CBIO bundle; Add downstream test harness for Cats Effect and React interop; Added JVM tests for downstream JS output and configuration; Added Scala 3-specific unit tests; Added comprehensive test suite for React 18+ features and Scala.js interop; Added downstream integration tests for React reusability and async rendering; Added downstream tests for Cats Effect integration with React; Added internal test utilities for HTML assertions, resource management, and setup/teardown DSLs; Added test for Scalafix downstream integration; Added test resources for React 19 compatibility; Added test resources for React downstream testing; Added test suite for AsyncCallback, Callback, and RateLimit; Downstream tests now support Scala 3 with reusability override configurations.

Dependencies

Add downstream tests and upgrade React to 19.3.0

A new \downstream-tests\ module has been added to validate the library against external dependencies, including a dedicated \react-umd\ subproject that bundles React 19.3.0 and React DOM 19.3.0 for testing. The test suite also incorporates jsdom 26.1.0 (via \library/package.json\) and configures Scala 2/3 cross-compilation with strict compiler flags. The legacy \build.sbt\ file for the initial Scala.js experiment has been removed.

(dependencies) · high confidence

Build infrastructure migrated to Scala 3 and SBT 1.13

The library's build system has been restructured into the \library/project\ directory and upgraded to SBT 1.13.0 and Scala 3.3.8 (with Scala 2.13.18 still supported). This migration includes updating core dependencies such as Scala.js to 1.20.1, Cats Effect to 3.7.1, and the testing library to version 10.4.2, while also introducing a new \GenHooks\ code generator to automate hook boilerplate generation.

library/project · high confidence

Update gh-pages HTML templates to React 19.3.0

The HTML templates for the gh-pages site (dev2.html, dev3.html, prod.html, and toc.html) have been updated to import React and ReactDOM version 19.3.0 via esm.sh. This change ensures that the interactive components rendered on the documentation site use the latest React version, while the table of contents page provides navigation links to the updated development (Scala 2 and Scala 3) and production environments.

library/ghpages/html · high confidence

Housekeeping

Document v0.10.0 release changes

The changelog now includes the release notes for version 0.10.0, detailing the upgrade to React 0.14, the unification of callback types via the new \Callback\ data type, the removal of Scalaz and Monocle dependencies from the \extra\ module, and the transition to Router2 as the only supported router.

doc/changelog · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 50 → 51 (+1.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 60 → 55 (-4.5)
  • Architecture 90 → 97 (+7.8)
  • Maturity 70 → 75 (+4.8)
  • Readiness 57 → 55 (-1.7)
  • Security 80 → 74 (-5.5)
  • Accessibility 34 → 38 (+4.3)
  • Performance 83 → 100 (+16.6)

Resolved (5)

  • Duplicated block (10 lines × 2) (library/callback/src/main/scala-2/japgolly/scalajs/react/callback/AsyncCallback.scala)
  • Duplicated block (5 lines × 2) (library/callback/src/main/scala-2/japgolly/scalajs/react/callback/AsyncCallback.scala)
  • Duplicated block (6 lines × 2) (library/callback/src/main/scala-2/japgolly/scalajs/react/callback/AsyncCallback.scala)
  • Duplicated block (8 lines × 2) (library/callback/src/main/scala-2/japgolly/scalajs/react/callback/AsyncCallback.scala)
  • Projects may be oversized for their cohesion

New (116)

  • Duplicated block (6 lines × 2) (library/callback/src/main/scala-2/japgolly/scalajs/react/callback/AsyncCallback.scala)
  • Duplicated block (8 lines × 2) (library/callback/src/main/scala-2/japgolly/scalajs/react/callback/AsyncCallback.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/Reusable.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (3 members, 1+ corresponding lines) (library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/HookCtx.scala)
  • Edited copies of one member (4 members, 1+ corresponding lines) (library/extra/src/main/scala/japgolly/scalajs/react/extra/Px.scala)
  • …and 96 more

Changes since last survey

  • 3 commits — 3 feature/other, 0 fixes

By area

  • (repo) — 2 commits
  • library/project — 1 commit

Notable commits

  • change: Merge pull request #1170 from japgolly/topic/asyncToIO
  • change: Merge pull request #1171 from scala-steward/update/sbt-1.13.1
  • change: Update sbt, scripted-plugin to 1.13.1

Architecture

  • Containers 0 added · 0 removed · contexts 0 added · 0 removed · edges 0 added · 1 removed

Removed dependency edges (was a dependency, now gone) (1)

  • library → downstream-tests (coupling)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

japgolly/scalajs-react was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 757dd2471c2743685f83503ef89631d1a00e0e2a — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-36d4cd83012f.