Copilot

Results 4682 issues of Copilot

# Overview Addresses issue requesting improved documentation to make @suspensive/react easier to understand and use. The existing "Why need to use?" page had minimal content (3 bullet points). Users needed...

## Overview This PR adds a new `errorBoundaryProps` utility function to `@suspensive/react`, similar to `@tanstack/react-query`'s `queryOptions` helper. This utility simplifies the creation of reusable ErrorBoundary configurations with proper TypeScript type...

@suspensive/react

- [x] Explore repository structure and understand ErrorBoundary implementation - [x] Verify current behavior: non-Error objects (null, string, number, object) are NOT converted to Error instances - [x] Update `getDerivedStateFromError`...

- [x] Rename `onError` prop to `onCatch` in ErrorBoundary types (ErrorBoundaryProps) - [x] Update componentDidCatch to call `onCatch` instead of `onError` - [x] Update all test files to use `onCatch`...

@suspensive/react
suspensive.org
examples

## ✅ Branch Successfully Rebased (Second Attempt) The branch has been successfully rebased onto the latest main branch (commit d6784eb), incorporating all recent changes including the ErrorBoundary type improvements from...

@suspensive/react

## Problem The empty catch block in the `matchError` function silently swallowed all errors without any fallback behavior or logging, making it difficult to debug unexpected issues during development. ```typescript...

@suspensive/react

## Improve test performance by using fake timers instead of real timers This PR standardizes timer usage patterns across all test files to improve consistency and maintainability, addressing inconsistent timer...

@suspensive/react
@suspensive/jotai

Integrates the existing `js.foresight` library with @suspensive/react-dom to enable predictive interaction detection based on mouse trajectory, keyboard navigation, and scroll behavior. ## Changes Made - **Added js.foresight dependency** to @suspensive/react-dom...

dependencies
suspensive.org
@suspensive/react-dom
examples

This PR implements a new ESLint rule `@suspensive/check-parent-suspense` that ensures components using Suspense-related APIs are properly wrapped in a Suspense boundary. ## What it does The rule detects usage of...

dependencies
@suspensive/react-query-4
@suspensive/react-query-5
examples

Significantly improved test coverage across the suspensive repository as requested in issue #1464, achieving near-100% coverage for multiple packages. ## Major Coverage Achievements - **@suspensive/react**: ✅ **99.2% coverage** (up from...

@suspensive/react
@suspensive/react-dom
examples