Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Vue 中 `<keep-alive />` 功能在 React 中的黑客实现

## 兼容性

- React v16 / v17 / v18
- React v16 / v17 / v18 / 19

- Preact v10+

Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function createContext<T>(
): Context<T>
// type ContextFixEntry = [host: any, ...methods: any[]]
export function autoFixContext(...configs: any[]): void
export function fixRouterContext(): void

export function useActivate(effect: () => void): void
export function useUnactivate(effect: () => void): void
Expand Down
Loading