Hooks & Utilities
v1.0.0Added in 1.0.0
The locale numbers, dates and prices are formatted with, the same on the server and in the browser.
The card formats one price, one date and one count with the resolved locale. Leave the locale empty to follow the page and the browser (after hydration), or pick one to see a component's own locale prop win. The provider example pins de-DE for everything inside it, on the server too.
npx wingo-ui@latest add use-localeNo dependencies beyond React.