Skip to content

🏷️ v2.0.0

Compare
Choose a tag to compare
@DRFR0ST DRFR0ST released this 15 Jul 21:34
· 63 commits to master since this release

Changelog

Added

  • Automaticaly detect browser language. Use the detectLocale provider prop.
  • Ability to provide custom locale pattern (default is still xx_XX)
  • New provider props, locales and initialLocale

Changed

  • Split useLittera into two hooks (useLittera and useLitteraMethods)
  • Change provider props naming. Language is now called locale etc.

See migration guide in README.md file.