7a5aca1e32
Adds A short summary of the steps to create and use feature flags in development for frontend developers who might be unfamiliar with `rails` and or `flipper`. Adds links to further reading in the development guide.
999 B
999 B
Tips
Clearing production compiled assets
To clear production compiled assets created with yarn webpack-prod
you can run:
yarn clean
Creating feature flags in development
The process for creating a feature flag is the same as enabling a feature flag in development.
Your feature flag can now be:
- made available to the frontend via the
gon
- queried in tests
- queried in HAML templates and ruby files via the
Feature.enabled?(:my_shiny_new_feature_flag)
method