rhf-error-util
Lightweight utility for safely accessing deeply nested or flat error objects like in React Hook Form.
✨ Features
- Zero dependencies
- Works with nested keys (e.g.,
"object.keys.keys"
) - Returns
{ message, ref, type }
object - Can be used with or without React Hook Form
🚀 Install
npm install rhf-error-util