8000 Releases · contiamo/react-runtime-config · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Releases: contiamo/react-runtime-config

3.0.0

15 Apr 16:02
9503dc6
Compare
Choose a tag to compare

After almost 3 years of usage of this library in our product, we did found a lot of little things to improve:

  • createConfig now returns useConfig and useAdminConfig react hooks
    • You can also namespace thoses methods with configNamespace to avoid name conflicts
  • createConfig take a simple schema props to describe the shape of your configuration
    • type, description, and constraints are now on the same place
    • the default can take a function to have a more reactive config (no more need to reload the application to have the latest config)
  • useAdminConfig is more smart about types and give a nice framework to build an admnistration page

1.3.0

14 Sep 09:06
edd246e
Compare
Choose a tag to compare
  • Add getAllConfig
  • AdminConfig have now access to defaultConfig
0