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.
Traffic · last 30 days stale · no recent hits
total hits 17
actors 5 distinct systems
last hit 17d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · VN · 🇬🇧 United Kingdom