#hooks

[ follow ]
React
fromLogRocket Blog
4 days ago

React useEffectEvent: Goodbye to stale closure headaches - LogRocket Blog

useEffectEvent in React 19.2 provides stable effect handlers that avoid stale closures while accessing latest props and state without extra re-renders or refs.
Software development
fromInfoQ
2 weeks ago

Cursor 1.7 Adds Hooks for Agent Lifecycle Control

Cursor 1.7 adds Hooks that let external scripts intercept and modify agent lifecycle events to enforce guardrails, redact data, automate workflows, and run formatters.
fromLogRocket Blog
3 weeks ago

6 easy ways to level up Claude Code - LogRocket Blog

One of our favorite tools is Claude Code, the AI coding assistant from Anthropic, which we're using to explore ideas, ship features, and create documentation. But while Claude Code is powerful out of the box, its real potential emerges when you customize it to fit your workflow. In this article, I'm going to walk through a handful of tips and tricks that help you move beyond simply entering prompts into a text box.
Software development
Software development
fromHackernoon
1 year ago

Your First Line of Defense for Clean Code is Pre-Commit: How to Set It Up | HackerNoon

Git hooks can prevent issues by running scripts before commits or pushes.
Pre-commit simplifies managing and sharing multi-language git hooks for teams.
Installing pre-commit requires setting up a configuration file in the repository.
fromHackernoon
5 years ago

Every Popular React Pattern You Should Know About | HackerNoon

The Container & Presentational Components pattern effectively separates logic from presentation, allowing for clearer and more maintainable code structure in React.
React
[ Load more ]