Tip
Tip submitted by: Dan Patz
ember-feature-flags is a great add-on for adding feature flags to your app. I use it to enable/disable beta mode as well as other features throughout my apps.
You can add features in your environment.js
You can then check the feature in your code or template like this:
or
Credits & Links
ember-feature-flags at https://github.com/kategengler/ember-feature-flags
Thank you Dan Patz for this tip @danpatz
Free Programming Books and lifetime access to IconApp.io
I am giving away some programming books and lifetime access to iconapp.io library of awesome icons. Check it out at https://gleam.io/XqHjW/rock-and-roll-with-emberjs
Share A Tip
Email me at emad@emberdaily.tips if you have a good ember tip.
If you are enjoying my daily tips please spread the word with this one-click tweet.
If you do NOT like the tips then please reply to this email and let me know how I can improve them.