No video

Implementing LaunchDarkly - #2 LaunchDarkly Feature Flags

  Рет қаралды 21,383

Fun Fun Function

Fun Fun Function

Күн бұрын

💖 Get started using feature flagging using LaunchDarkly
launchdarkly.com
🔗 Support the show by becoming a Patreon
/ funfunfunction
🔗 Code from the episode
github.com/mpj...
🔗 mpj on Twitter
/ mpjme
🔗 Help translate the show to your language
www.youtube.com...

Пікірлер: 35
@zenobikraweznick
@zenobikraweznick 2 жыл бұрын
I thought that "the louder one shouts the faster pages load" was just a rumor, urban legend of some sort. Now I know it's true! Thanks! :)
@moorzymoores
@moorzymoores 4 жыл бұрын
Oh the praise I bestow upon any developer who writes "longer" code block to make it instantly readable to anyone reading in future..... 1000000000 top dev points donated to ya man.
@gomidefabio
@gomidefabio 6 жыл бұрын
Great job as usual MPJ!
@tremblben
@tremblben 6 жыл бұрын
This is awesome! We were actually thinking about having two versions of our application (one beta to rollout new features and one production so our big clients have more tested features) but this is infinitely better =)
@DeusEx3
@DeusEx3 6 жыл бұрын
I've never put the distinction between deploy and rollout into words before... Gheez. This changes ääääverything
@EightSixx
@EightSixx 6 жыл бұрын
love the new glasses
@lallu12343
@lallu12343 6 жыл бұрын
what vscode package are you using to show the gzipped size of the imported libraries??
@funfunfunction
@funfunfunction 6 жыл бұрын
Sorry, don't remember. I've uninstalled it since since it was distracting for me and the audience.
@MarcelLamothe
@MarcelLamothe 5 жыл бұрын
I'm assuming it's this one: Import Cost marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost
@rolfnoduk
@rolfnoduk 6 жыл бұрын
Any chance of a label saying which viewpoint each character represents? I lose track quite a bit of this awesome story feature ;-)
@funfunfunction
@funfunfunction 6 жыл бұрын
It's not all that important that you know the role of each character - the argument is important. However, the glasses actually ARE the labels - if you're interested in reading about the characters, they are modeled on Edward De Bonos Six Thinking hats, and the glasses have the same color. I could put the full description of each color next to the glasses but that would be incredibly annoying, I think.
@bohemian_demon
@bohemian_demon 6 жыл бұрын
Omg, I'm having that learning feeling again!
@davidhope2199
@davidhope2199 6 жыл бұрын
How do you feel about the "git flow" approach? My team uses git flow features and hot-fixes within releases to avoid releasing development and target only finished features
@DaleRace
@DaleRace 6 жыл бұрын
That's nice for Git management but still requires you to do a deployment when you want to enable a feature
@davidhope2199
@davidhope2199 6 жыл бұрын
Dale Race , very true
@CullyLarson
@CullyLarson 6 жыл бұрын
Why not set sortOrder to "added" when doing the setState that sets the feature flag (i.e. in the onFeatureFlag call)?
@funfunfunction
@funfunfunction 6 жыл бұрын
This is elaborated on in part 3 a bit, but conceptually, we discover later that it is a too simplistic view of reality to consider sortOrder a state property - it is actually a derived state from selected sort order and what the default sort order happens to be. We don't do it in this series, but in the real-life version of this app, we also had the concept of a persisted (in local storage) sorting order from previous sessions.
@CullyLarson
@CullyLarson 6 жыл бұрын
Fun Fun Function It seems like setting the default value on the initial set state (or the onFeatureFlag function, which is essentially the initial set state) is a simpler way to handle default values. Then the rest of your component doesn't even need to know the difference. There was a lot of extra code added in render just to make the default vs. selected distinction. That could be removed, you wouldn't need two state variables, and the component would be easier to understand. Btw, I love the channel. Thanks for taking the time to reply to my original comment :)
@CullyLarson
@CullyLarson 6 жыл бұрын
Fun Fun Function I was thinking this would work with a value from local storage as well, and just forgot to mention it. But thinking about it more, I get why you'd need selected and default values: so that if you set the selected value from local storage on the constructor setState call, you wouldn't overwrite it in your onFeatureFlag setState call. I still wonder if there's a simpler solution (maybe deferring all of set state to the onFeatureFlag call, and figuring it out there). Then at least it would be compartmentalized and render would be less confusing.
@EightSixx
@EightSixx 6 жыл бұрын
Howd you do the multi select change at once?!!?!!?!?!!?!?!?
@EightSixx
@EightSixx 6 жыл бұрын
crtl + d for each variable instance.
@kondwanimkandawire2680
@kondwanimkandawire2680 Жыл бұрын
Brilliantly presented! Though I have one question, is there anything that this is providing that can't be done via normal yaml? At least from a Java perspective most containers will load yaml into environment variables. myNewFeature.enabled: true if (Boolean.getBoolean(System.getProperty("myNewFeature.enabled"))) { // Execute code for myNewFeature } Is there any additional benefit that Launch Darkly provides other than the above? If not it truly feels like overkill?
@alexcasillas
@alexcasillas 6 жыл бұрын
You should buy something to hold the "slides" for you, it feels unconfortable for you be holding that paper for a few minutes hehehe
@SaintSaint
@SaintSaint 5 жыл бұрын
Programming is better with sound effects.
@edgarabgaryan8989
@edgarabgaryan8989 6 жыл бұрын
Settings are evil - MPJ's Musings - FunFunFunction #62 kzfaq.info/get/bejne/ndKKZKZevtuZpKs.html
@johnblaine5523
@johnblaine5523 6 жыл бұрын
Love this - not only is the content great but... this is Johnny Depp as a web developer!
@konstantinkanchev889
@konstantinkanchev889 4 жыл бұрын
great
@sumitgovil2311
@sumitgovil2311 5 жыл бұрын
Really appreciate what you are doing and I like your videos but at the same time I feel like you should be better prepared.
@SaintSaint
@SaintSaint 5 жыл бұрын
Nope. I like to watch his debug process. Including him saying "Damnit!" in the middle. There's plenty of heavily scripted walk though tutorials.
@dennycrane2938
@dennycrane2938 5 жыл бұрын
omg get a whiteboard and stop wasting paper/cardboard
@funfunfunction
@funfunfunction 5 жыл бұрын
Hello! This is a pre-written response for comments about my use of paper in the videos - sorry about that but I’ve replied to this soooo many times. It’s great that you think about how to improve our environment, I do too! The recyclable paper I use on videos, however, is such a miniscule part of my environmental footprint that getting rid of it would just be superficial virtue signaling. This is especially true if I had replaced it with a whiteboard, as many paper-waste-commenters suggest, since a whiteboard would consume resources equivalent to many years worth of paper to produce - don’t get me started on the people suggesting tablets! If you genuinely care about making changes that will impact your footprint in an actual, not symbolic, way, then I invite you to consider joining me in going vegan (I did after reading www.cowspiracy.com/facts/ If veganism is too much for you, then you can back climate offset projects corresponding to your own footprint at: GoClimateNeutral.org
Getting Started with Feature Flags - #1 LaunchDarkly Feature Flags
15:39
Fun Fun Function
Рет қаралды 39 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 26 МЛН
Structuring JavaScript projects for testability
17:12
Fun Fun Function
Рет қаралды 32 М.
Is async / await useless?
18:40
Fun Fun Function
Рет қаралды 58 М.
How LaunchDarkly Enables Product Managers to Test in Production
20:51
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 85 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 447 М.
Clever tricks to improve video conference communication
10:00
Fun Fun Function
Рет қаралды 6 М.
Why is anti-immigration sentiment on the rise in Canada?
13:00
The Guardian
Рет қаралды 1,9 МЛН
Generators in JavaScript
22:16
Fun Fun Function
Рет қаралды 48 М.
How to Use Feature Flags in React with Unleash
11:47
Unleash
Рет қаралды 2 М.