Skip to content

[pull] main from remix-run:main#256

Merged
pull[bot] merged 36 commits into
code:mainfrom
remix-run:main
Mar 23, 2026
Merged

[pull] main from remix-run:main#256
pull[bot] merged 36 commits into
code:mainfrom
remix-run:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 23, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

brophdawg11 and others added 30 commits February 19, 2026 10:42
Co-authored-by: Kamil Kuźnicki <kamil.kuznicki@silksh.pl>
* fix: handle non-regular files in dev watcher to prevent crashes

The dev file watcher crashes when Unix socket files (e.g. from overmind
or pm2) exist in the project root. chokidar v4 calls fs.watch() on
these files, which fails on macOS with errno -102 (UNKNOWN).

- Extract watcher ignore logic into an exported `isIgnoredByWatcher`
  function for testability
- Run cheap path-based checks before the fs.statSync call to avoid
  unnecessary syscalls on already-ignored paths
- Filter non-regular files (sockets, pipes, etc.) via fs.statSync
- Add an error handler on the watcher so unexpected errors log a
  warning instead of crashing the process

Fixes: https://github.com/RomanBaiocco/react-router-sock-repro
Related: paulmillr/chokidar#1391

* chore: sign CLA

* add link to chokidar github issue

* don't fail create-react-router tests on deprecation warnings

---------

Co-authored-by: Pedro Cattori <pcattori@gmail.com>
…esStub (#14892)

Route components typed with Route.ComponentProps have more specific
params and matches types. Due to TypeScript contravariance on function
parameters, they were not assignable to React.ComponentType<RouteComponentProps>.

Widen Component, HydrateFallback, and ErrorBoundary in StubRouteExtensions
to React.ComponentType<any> so any route component can be passed without
a type error.

Fixes #14886

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Mar 23, 2026
@pull pull Bot added the ⤵️ pull label Mar 23, 2026
@pull pull Bot merged commit a11a013 into code:main Mar 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants