Skip to content

Document deprecated lifecycle hooks - #40

Merged
heyitsarpit merged 1 commit into
mainfrom
docs/deprecated-lifecycle-hooks
Jun 24, 2026
Merged

heyitsarpit merged 1 commit into
mainfrom
docs/deprecated-lifecycle-hooks

Conversation

@heyitsarpit

Copy link
Copy Markdown
Owner

Summary

  • Adds visible deprecation notices to lifecycle hooks that are not idempotent under React 18 Strict Mode.
  • Marks the affected docs frontmatter as deprecated.
  • Updates rendered type declaration snippets with @deprecated notes.

Closes #25.

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-hooks-library Error Error Jun 24, 2026 12:24pm

@heyitsarpit
heyitsarpit merged commit 68391c8 into main Jun 24, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[hooks] useEffectAfterMount does not in React 18's strict mode in development environment

1 participant