I have a bias but I would still suggest using feature flags even for on/off functions. Example of how I do it:
https://x.com/ctushr/status/1949215574980272177