Re:Ask HN: Do you use feature flags? What's the best tool fo...
by larsthorup on Thursday September 03, 2020 @05:27AM
(#24362278)
Should you use a tool at all? One code file with the flags, and a small piece of router middleware that allows the URL to override the value of flags, and then just if statements. This has served me well on the past 3 frontend projects I have built.
[ Parent
| on HN ]
Re:Ask HN: Do you use feature flags? What's the best tool fo...
by maps7 on Thursday September 03, 2020 @11:52AM
(#24365240)
So the URL can turn on different features?
Re:Ask HN: Do you use feature flags? What's the best tool fo...
by larsthorup on Friday September 04, 2020 @07:53AM
(#24374105)
Yes, using #feature:name=value. This makes it easy to share a URL to someone who wants to test a not yet enabled feature