Skip to content

Commit 3ebd680

Browse files
committed
task: add USE_REACT feature toggle.
As frontend is developed independently from backend, we should have a toggle to keep the components switched off until we have API. Part of #1328 [skip ci]
1 parent d8c5366 commit 3ebd680

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/ru/mystamps/web/support/togglz/Features.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public enum Features implements Feature {
3131
@Label("Use a country microservice for the country-related functions")
3232
USE_COUNTRY_MICROSERVICE,
3333

34+
@Label("Use React components instead of server rendered HTML")
35+
USE_REACT,
36+
3437
@Label("/site/index: feature to check that Togglz works")
3538
ALWAYS_DISABLED,
3639

0 commit comments

Comments
 (0)