react-onchange-date-formatter
JSON →A lightweight React hook that automatically formats date input as the user types. Current version 1.0.11 (last updated 2023). It provides a custom hook useFormatDate that takes the onChange event, a state setter, and a special character separator. The hook formats the input into MM/DD/YYYY or other patterns. Minimal dependencies: only React. Differentiator: simpler than date-fns or moment for inline input masking.