We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We will change the export require interface of the library to work as follows:
const toggles = require("cap-js-community/feature-toggle-library") function someFunc() { toggles.getFeatureValue(...) }
In other words, the library exports only a singleton instance directly. It will be the real singleton instance, which is not spreadable.
The underlying class will be exported as a static field on the singleton.
const { FeatureToggles } = require("cap-js-community/feature-toggle-library"); const customToggles = new FeatureToggles(...)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
We will change the export require interface of the library to work as follows:
In other words, the library exports only a singleton instance directly. It will be the real singleton instance, which is not spreadable.
The underlying class will be exported as a static field on the singleton.
The text was updated successfully, but these errors were encountered: