I am working as a mobile developer at Curve Tomorrow. It's an Australian based healthcare startup. My topic for today is less angry asing. But before I go there, I want to tell you a story. Once upon a time I was working with an Indonesian startup, a woke private limited. It was basically a startup like Paytm but for Indonesia. So the user had a wallet balance and using that balance he could do different activities like selling off recharges, doing insurance services and different things. So these are near the dashboard. So I started researching the best practices using which we can make the dashboard because dashboard involved hitting many APIs and then getting the response of all the APIs and then showing it together on one component. So my first attempt was I started making one function at a time so I was creating function for everything, every API and then putting everything inside one component but then I realized that my component is becoming really complex and it's really difficult to understand the code and I have more bugs in my component than the features. So I was looking for something which is more modular and then which has a cleaner approach to fix this. So I continued my research and then I came across Redux. Basically I knew that in my application I needed the state in multiple places, the same state will be required in multiple places, multiple components. So Redux is something which gives us that. So I said that okay I'll go with Redux as an architecture and then I was still looking for something to handle side effects that is hitting the API calls, how can I make that possible in Redux. Then I wanted some solution which is more readable and we were very much focused on testing so it should be easy to test as well. So first I started understanding the Redux architecture, basically you have a component which will dispatch an action for anything it wants to do suppose it wants a user data. So you say get me the user data that will become an action and that goes to Reduser and the Reduser will process it, gives the new state back to the store and then store will give it to the component and component will get the user data and then it will update itself. So component is always listening to store, as soon as the store gets updated the component gets also updated. That's like a, you can say high view of Redux. After that, after I got into Redux I was looking for the solution for handling the API and I came across two libraries, that time Redux Thunk and Redux Saga. So I had to look into Redux Thunk, basically you get rather than dispatching a normal action, your normal object, your action can return a function which has access to dispatch and state. So you can wait for some time you can hit the API and wait for some time and then you can dispatch any action you want and you can also get access to the state. But the problems with this were like as I had to perform more and more complicated operations like suppose one of my APIs waiting for another API to return the response, I was falling into the callback hell and the code was becoming really difficult to read and also the testing was too complicated. So I was wishing like what I want to do is I want to execute the hell function which you know can execute the API hitting task for some time and then wait and then again after some time it should continue the next task. So I was thinking like if there should be something which you know which run and then wait and then run again. So then I came across Saga so Saga is basically that it gave me the control over hitting the API and then waiting and then executing the next function. It is basically a library middleware which handles the data fetching and data fetching and impure things task and then and it also makes your application really easier and the code is really easy and you can understand it by looking into the code. So how does it does it that it uses the ES6 generator functions and it has something called SagaFX. You can consider it as a methods or instructions to middleware and my action remains pure like Saga are really different you have it in a separate file so your action remains pure. So I am going to talk about all this in a bit. So I was really excited for my journey so I hope you are too. So let's start the journey. So back to the problem I had to create the dashboard right so I would add the required hitting get user load balance load banner and transaction details. So first it needed the get user and then all the other APIs were depending on the get user response. So first need it as Saga user generator I had to learn the gender basics so I started writing understanding it. So if you see this function normally whenever we have a generator function what we expected to return the inside whatever it's there inside or anything but as Saga's are different whenever you encounter a function within star it's a generator function and for now just don't focus on the E so when I should run this function I should get the console log but as generator are different when you run them it returns something called iterator. So you can iterate over your functions you can say. So I am writing the get people function and I am getting people that's an iterator and if I want to iterate over this I will have to use .next. So when I do .next on this iterator I get the response and an object which tells me value which means that statement has anything to return and that means if I have more code to execute. So if you see I didn't get the second console log because there is a yield in between yield means pause. Pause at that execution until it calls .next again. So if I want to execute the next part I will have to call again .next on that iterator so I will call it and I get the response and if you see the object it says done is equals to true that means your function is completed. So that's how you understand how generator is working. Then I started writing the reducer so I wrote the dashboard reducer and I was looking into basically I wrote the simple reducer that whenever you get dashboard success action whatever statement is given you update the state so that my dashboard gets updated and I was looking into where the sagas lives actually in the forward base so that's you can see there. In the architecture I wanted to look like how the sagas are related with the redux architecture. So basically when your component dispatch an action your reducers are listening to all the action same way your sagas are also listening to the action. So whatever action you dispatch the sagas can listen to it and perform any operation so we will see in a bit. So I spoke about saga effects how that how saga does that how it listen to everything and performs is basically using saga effects which are basically the instructions to the middle web. So I started learning more about it. First take every and take latest. So whenever an action gets dispatched I want to know about it. So you can use take every to listen to every action it is getting dispatched. It basically has the first argument which takes the action and the second one is fetch user which is basically a method we're dealing with hitting the API and getting the response. So that's an async method. So I'm doing that take every and every time and this fetch user requested action gets dispatched all their methods. And the take let us will do the same but what is the difference here is whenever suppose I'm dispatching fetch user requested my API is running and I'm dispatching again the fetch user requested in case of take latest it is going to cancel the previous one as you see in the diagram. So it will always return you the response of the latest request. So that's the difference between them. Then I look at take is basically take every and take action or continuously listening. But if you want more control over listening to the action you can look into you can use take. Basically take only the single action and then it stops. So you can use it in different ways put the same like this patch it dispatches action get gives you like the state you can access the state using select sorry you can access the state using select so let's see the example how this is working. So suppose you have an example where you user has created 2dos and after creating 3dos you want to show a congratulation message to the user. So if you look into the code I'm putting what I want to do here is I want to take an action which is to do created and I want to take it for 3 times so I put it inside of all loops. It will basically wait until these I've received the action for this 3 times. After I've received it I'm selecting the state from the store and then user because I want to know which user it is and then I'm putting it into the I'm using put dispatch the action to the store that I've shown the congratulation message to the user. So that's how it works. If you look into the code it's really easy to understand by looking into the code what exactly is happening that's one of the advantage of salas. So there were more effects. Suppose you want to run an API so basically to run an API function which has an async task in it. So you use two effects which is one is call and one is folk. So call is basically blocking and focus not non-blocking. Let's see the example and we'll get more into this. So in this example what I want I'm doing is I'm taking a login request it's a very common example. We have a login request and the user is getting logged in but I'm doing that call and I'm passing the authorized method which is responsible for hitting the API and getting the response and after that I can pass the parameters whatever I want to the call method. So if I use call it will not move to the next line until it is finished execution hitting the authorizing API. During the same time if suppose user changes his mind and he wants to log out to the app the component will dispatch a logout action but as it is blocking it will ignore the logout and it will not be into a good state. So if you want to deal with such things you use folk instead of call. So folk is non-blocking so if you will use folk in this case the folk will create a new thread in which the authorized function will get execute and it will call the API it will get a response and in between the logout it will go to the next line and wait for the logout action to come. As soon as the logout is coming in between it will logout the user and clear whatever you want to do after that. So that was like the basics of saga effects which I got and then I registered the saga into the like I created a saga I needed two sagas for this the load user and then that dashboard now you say a lot about show me the sagas how you wrote the load user and the dashboard so let's look into the load user so what it should do basically is I should call the get user API and then any time you once you get a success response it should dispatch a success method otherwise the failure one so that's what we are doing here we want to wait so yield is wait for get user to finish and I am making it a blocking one then call I told you that is a blocking effect then once I got the response I am dispatching the put is dispatching the fetch user success action and then if I got any error in between I am dispatching failed action this was quite simple the complicated version was the dashboard one where I had to get first I wanted to wait once the user dispatches you fetch user success is being done I want what I wanted to do is hit three APIs get the response of it and then show it to the user so that's what I am doing here so I would like yield take wait for the fetch user success action once you get it select the user state from the store then call three different APIs call first load balance because load banner and load banks all these APIs were dependent on the user so pass the user to them and once you get all the three responses you dispatch an action that I got all the data and update the dashboard so this was like the if you now look at the code it's really simple when you look if any other developer will come and look into your code just by looking at it they will understand what exactly is going on so that's an advantage by we like using servers so and I was thinking that's fine I am using call there but in any way I can make my previous example any better so I came across one more effect which is all so as all the three calls load banner balance and transaction details doesn't have to wait for each other to finish so what I did is I put everything inside yield all and now all the three will start executing at the same time and once everything gets finished I get the response and it will go to the next line and dispatch an action to the dashboard I've got all the state you just update yourself update the component so you will say yeah I get it you get the readability but what else what is the other advantage of using server so there's one more thing which is which is which I like really a lot which is task cancellation as a developer you have to phase a lot like suppose you have started some tasks due to some reason you want to you know cancel the task so if you are into like into a callback hell it is really difficult to identify which task you want to cancel so let's see the example how task cancellation happens in servers suppose I start a background sync task and in like every day it should sync at particular time which is like very common use case these days so after that once it starts syncing sometimes if suppose user logs out or do any event I want to cancel the syncing so how will I do that in servers so I'll wait for background syncing task action to happen once I get that I'll start the fork remember the fork it's non-blocking so I'll start the background sync in the background and then it will go to the next line and it will wait for the background syncing cancel once it gets it gets the action that he canceled the background syncing the fork basically returns you the task so you can store it in a variable and then all you have to do is just cancel that background as here I have stored in background sync task so I just cancelling that and not only that whenever you cancel this task so if you see this pg sync generator method whenever I get cancelled I'll get an event there in the finally that hey you got you got cancelled if you want to do any cleanup you can do that in that so that's really really useful so that's it that's all about saga but what about testing so we like we want to obviously test this and as I said that testing is really important so when you want to test it's really easy you have to remember these rules and then it becomes really easy so what you have to do is as I told you that generator generator doesn't return to so you store a generator into a variable and you call the next method on it then it will return you an object with a value and done equals to false take that value and just use expect and compare what you are expecting it to be and if done is true that means you have reached to the end and then you don't have to test anything more so let's consider the dashboard scenario which we saw earlier so in this I'm just going to test the first one that whenever a fetch user success gets dispatched my generator should yield a take effect so let's see that so as I said the first rule is store your generator into a variable then call dot next on it take the value you have the actual value which will be a take effect that's the advantage here the effects are basically what they return is an object which are like instruction to middleman so you can directly compare the effects value and with the expected like here I'm expecting a take effect I can write that and just compare it like that you can expect all the effects with proper value parameters and then test your scenarios so that's it I'll just want to conclude here that suppose you have a complex if you don't have too complex flow there's no need to go with redux saga you can do your things with redux using redux thongs as well but if you want to if you have very complicated flow and you are dealing with a lot of ABI calls which are interdependent you should definitely try out redux saga there is a learning curve when you are dealing because you have to understand a lot of how they are working but I think the stock would have made it a bit easier so in any case you should write your test if you are not writing because writing test is really important and if we have a testing BOF as well so if you are interested to know more about it you should definitely join that's it thank you everyone for your time


Good morning everyone happy Thursday today is gonna be a fun day Going to the pool getting coffee with a friend working out tonight. It'll be good currently making breakfast I just made some coffee. It's amazing. Oh, it's hot. If you guys are new here. Hi. I'm Kinsey nice to meet you Be sure to subscribe So today is exactly one week before we leave for tour if you guys don't know Danielle So if you approve it and I are going on tour with garage clothing So we're going to be the first two stops from New York, Chicago and Venice Beach But I have a lot to do but I'm also trying to just live live my life last night at church on that had a message Judah had a message that was so good about living a crowded life, and I just have been so just Crowded lately and that message was so good. So it's probably up by the time This video is up. So I'll link it down below. It's amazing. Anyways, I'm making breakfast English muffins I'm gonna make when I cut up some fruit for the pool I feel like such a mom like who takes her kids to the pool, you know Got some strawberries some blueberries. How often do you guys like seeing blogs if I could just post vlogs? I really would I just feel like I need to post other things that aren't just vlogs, but Let me know made some nice fruit cups. I feel very Like a maternal. I don't know. Okay. I'm getting ready right now. This is my swimsuit. I honestly have no idea where it's from Okay, I have no idea where it's from though.  Oh my gosh guys I haven't even told you there was a squirrel this morning that jumped through my window onto my bed like literally Okay, look at this see that window right there Imagine me 8 a.m. laying on my bed I was half awake at this point and then a squirrel jumps through my window and Onto my bed and I yelled and I screamed and I ran to Ian and I had Ian come in here But I think the squirrel was already gone and then the squirrel just stared at me for like ever.  So to give myself a nice glow. I have this Becca Um, I don't even know what brush this is, but I'm just gonna kind of highlight all over my bodies down your legs. Here's my necklace inch. This is from Misguided I wear this to Coachella actually and I wear these short to Coachella Okay packing up all my stuff the two books that I'm bringing Gary V is crushing a book This is really good. And then I just finished this book. It's Jonathan Martins. How does someone have a shipwreck book? I love this guy really good, but I'm gonna reread it and highlight it and everything sunscreen. This is like other stuff My cute fruit cups that I made I feel like a mom Okay, so it is midday. I've been out all day as you guys know, okay, I'm gonna like touch up I'm not wearing makeup, but I just been outside all day. I feel like my skin is just super dry I'm gonna use my tiger grass drops. This is amazing. I feel like just so prepared today It's just canceled that road is so hopefully I didn't get sunburn. I guess we'll figure it out though. This is really no surprise here It's a drunk elephant virgin marula luxury facial face oil facial This stuff is a dream. Oh my gosh. Wow Obviously my Galway lip mask. I need to try out some new products guys But these are just my holy grails right now and then Mario Bonescu facial spray with aloe cucumber and green tea Okay, this is really what makes you feel so refreshed, but seriously It took me two seconds just some facial oils and I'm ready for my afternoon Wow, I just feel so good. So this is my skin after guys seriously I mean obviously it's like more oily right now because it hasn't set in but my skin has just never felt or looked better It's just it's amazing I Okay guys at Chick-fil-A Coffee was awesome. Now. I'm getting dinner a really healthy healthy dinner I realized how unhealthy I've been eating when I edit my vlogs these necklaces are really cool yet Dude, I'm a silver. Oh, no actually I want the other. Yeah, I want those ones time for the important things This is aloe in it Okay, thank you. I have not looked like this since I was at least like 12 years old Okay, heading home going to drop off a snack at Joe's work. He's the last shift at this job. So Celebration I just got home and I changed into comfy clothes I was gonna work out today or tonight But I miss my spin class because we were just at coffee. It was so refreshing and we were just like having so much good Conversation and yeah, basically miss my spin class, but it's fine So in here I just need everyone to picture a squirrel in here earlier today like that is actually terrifying today It was like kind of like my day off. I'm really not gonna have many days that are actually no I'm gonna I'm gonna make it a thing, but it was really good. I just spending time with friends. Um Yeah, tomorrow I am gonna be with Olivia and Taylor and we just you'll see tomorrow, but I came home to a package Big package of clothing so stay tuned for a haul I'm gonna unbox them now, but gonna show you guys in a haul Um, that is it probably just gonna chill and watch a movie or read and just relax The rest of the night and then tomorrow I will check back in with you guys early because I plan very very early Good morning everyone. It is 7 a.m Taylor and I really want to get coffee this week because honestly I can talk about this more I guess if you guys want to hear it, but I don't know Like it's not just me, but I've just been feeling very like unmotivated and weird and just I don't know and so does Taylor So we decided to get coffee. We're at Blue Bottle, which is my favorite coffee shop in LA Honestly, I Blue Bottle and Alfred's I think Alfred's wins like a little bit, but I love Blue Bottle too So I don't know man Look who it is We just finished our coffee day. Can't see this. We got the New Orleans with oat milk. How did you like it? Very good. Very good. Literally Here's a bit A little bit of coffee in LA, like I want to be really cool and drink the whole booze and like where's all the help stuff Well, like sometimes I just want to try to be hot But this is out. This will do for right now. It's actually really like I can tell this is good coffee. Yeah, it's really good. Yes Yeah, I'm worth the $8 yesterday Taylor texted me was like sometimes I just really want to be a girl boss and get the cold brew But sometimes I just want to be a chai girl I get but yeah, sometimes you happen to do cold brews I remember when I had the luxury of being able to be a chai girl and now I just don't have that luxury anymore So if you were while you're young While you guys are young Surprise surprise going to spend class actually is a surprise because I have been off my game lately I got deep in a street parking spot Literally there is Love life. Here's my car Wow, it's amazing I'm officially the biggest idiot alive I could have sworn there was an 11 am spin class and it was only noon and I have plans at what I couldn't do the noon I literally could have sworn there is an 11 am and the worst part is that I got there really early So I just sat on my car and waited for like 30 minutes when I could just got it does me else and so yeah That is literally I've only gone to one spin class this week.  So what's new? It's fine. I'm it's fine My friends at the front desk cuz obviously I'm friends with everyone. They were like, oh Kenzie There's not a class at 11 and I was like since when I always go to the 830. So that's why I don't know these things But I could have sworn I saw 11 on the website.  Okay. Good. Bye We've been listening to Frank's nontra all morning getting ready. It was gloomy. Honestly today has been amazing so far It's been so good and I'm about to film with Olivia and I'm just in a very good mood and I'm getting Taco Bell So I'm really living like who it is guys This is a vlog. Are you filming? This is for your vlog. Yes, this is for the vlog nothing too crazy.  It was kind of gloomy and this street is a place to go on this. Yes. Well, you're about to be Shucked once you see the street over from us a beautiful beautiful sight. I'm getting ready to film Okay, we'll see if you like this natural lighting. You can also add a light I just my ring light is out right now. I do have like normal lights, but there's not soft box Yeah We just took a few Instagram Gonna finish my Taco Bell. Isn't this such a nice vibe? Oh, I'm happy. I feel very good in here It is now 440 p.m. My DSLR broke. How light is this?  It really is becoming a problem But just sing the Post Malone's album and just chillin, you know made it to the store. So cute. Yeah, there's a bit of a line This is like It's like almost golden hour, so it's like that free golden hour not to golden She really does you really do you know details of things that you're very detailed Yeah, I was a photographer before I was like I'd like to be on the other side of the camera, so I'm Really the pink canyon room It's literally like this mom my friend told me it was already over It's really like The colors are changing. It's so common here. Wow This is really cool. I like this a lot. Wow So my pastor just got my merch in the mill and I don't even have mine yet So maybe when I get home it is there But just in case I don't get it in this vlog here are two of the shirts The other one isn't finalized yet But a nice little sneak peek unless they're there when I get home If not, this is all you're gonna see right now guys, but I'm so excited for this launch like oh my gosh. I'm so excited This is the weirdest lighting I think I've ever seen no I can't do that. Okay What's a glossy day have a few things I actually got quite a bit the store is so Cute and the workers jumps are just so cute. I didn't realize it was on Melrose please So that's a really good location. Okay, also love the bag my merch came in Chad got his or Chad got his and he posted it and then I sped home so I can get mine. I'm I'm about to open it Yeah So what is my gloss a while I got the Moisturizing moon mask haven't tried this before and then I also got the haloscope That's coming yeah, well Anyways, I got the highlighter stick also about the lid star and I got it in I think it's Lily But it's a lilac color don't know why they didn't just do that But this will be good because my eyes are green so it'll make them pop, you know on to the next bag Oh, yeah, and then I also work the body here upset So I'm so into skincare right now drunk elephant email me this morning game over all I need honestly So I have the body here a lotion and then also the body hero Body wash, but I'm gonna start doing more like product reviews on my Instagram stories to follow my Instagram Anyways, no, what's up framily? I feel like a squirrel is just gonna come out all fridge. Why am I in here? Joe told me he's never coming back to my room again Welcome to the segment that I said I was starting in my vlogs at the end of them I sit down and we respond to some comments today. I decided to have Joe on my show Hunting I should have got food. I bribed him with this face mask Okay, so I'm putting on my new come on my new glossier Face mask that I got today. I wonder if this if you can just leave this on overnight and it's like really hydrating It's a hydrating face mask. I got this for our travels over the next week. That's all you put on I might not with everything everything is just so much for me Well two types of people that am I right or am I right? I'm not even wearing a mask This is how you are honest question. Can I just like massage this into my skin? Oh Wait to moist skin. We're supposed to apply it to moist skin My skin was somewhat moist questions or comments concerns on the last vlog if my creator studio app is gonna work Probably not. I have Zoe's channel. Should I should I do something? Just kidding. Subscribe to Zoe and me. You should. Can you imagine? They would kill me If anyone's ever watching this, I'd never do that Take a shot every time Ken says Ian. I'm not trying to die Please drink a lot of coffee.  That's only what's in the blogs. I genuinely spend at least $10 a day on coffee No, that's it. I like it. I didn't mean to get to open stuff. Also Ian looks like Jamie Campbell Bauer That's the guy from Twilight. We looked it up. It's true. He gets out a lot actually Waterbigger is life. I Agree. Yeah, is this in tell me if it's in focus. Do you ever get a text me? Just like please stop There's no in a conversation should have ended four days ago, and they just drag it on Did you know that we went to Ikea? I wore Why did none of it?   We play hot seat all the time I don't think I've talked about this in blogs, but you just ask people questions, and they have to answer We play hot seat literally every day But this new one that Joe started tonight is you're like, okay everyone goes into a target and only leaves with one thing What do you get and then you name what everyone would get? Yeah, like wait? Let's do it. Let's do a tiny example version right now speedrun. Okay. No, that's too easy. Everything is so well It's easy. Whatever. Okay example. We go into Alfred. We leave with a drink. What do we get? Bacha like ice-macha that's what that's what you choose. That's what I would that's a good go-to, okay That's like always what about for me? I was gonna say something stupid, but I can't even afford to it's a frickin Mother frickin chai latte. No, it isn't It's a cold brew with omelk. No, I don't get chai that much anymore I mean I do get chai I get chai like when you brought me chai I would have got chai like I First drink of the day is a cold brew and then depending on how my day goes if I'm working a lot of cold Yeah, I drink a lot of days at the beginning of the day or like with like a quad shot just because So do you just have to I need to do a good drink Water, I just say hydrated folks. Where do you get your film developed? Okay? I go to a photo lab down the street from me But don't go to CVS unless they have like the it's way more expensive and the photos aren't as good Find like a local Photo store. That's your respite. Support your local business Can we drop that out of the dude? Sitting between Kinsey and the other girl at 1645. It's Britain. I checked Britain Unfortunately for you has a girlfriend that he is very in love with and Sorry, I'm not happening, but he's the best and it's great. That's so funny person.  I wish But he that's just how it's written. He'll be so Yeah, that's you know, he's not him. He brand has a lot of emotion. He's just no, it's not a lot of enthusiasm Yeah, that's not a lot of enthusiasm. He's pretty monotone Okay, please do a house tour before August No, it's not gonna be ready We're ready. It's not gonna be ready. It's not ready for a long time. Maybe it happened. Maybe in heaven We'll do a house tour. I'm gonna be living here for years. So like it's not gonna be ready for a long time My office. Hopefully we ready within like two months probably my chairs come Tuesday. It's exciting That's it. I'm getting coffee in a face mask after this. That's an amazing comment You should do a face mask as you're watching.  That's what I'm saying I feel like I could just leave it on and have it look like a really good Like, you know, really moisturizing. Can I I don't know. I don't know. Should I try it? Do you have anything you want to say? Yes, I have to say other of a question the question that has the most thumbs up that I probably should answer is Because I talk in my vlog about how my life is just so much better I get like emotional and I was like my life is so much better now that it was six months ago And then like can you talk? I mean like this is a way more in-depth thing But the like can you talk about how it's better, but from your perspective being one of my best friends Why is my life better? What would it be? And don't say that you live here now. I'll I'll move out I didn't say I wasn't or that we're roommates. I'll move out. Um, let's see my own house a lot more Just the things you're into you're kind of like I think I've evolved a lot. Yeah, you definitely have um You're way more you have a lot more intimate and open like conversations and just way of living you're very relaxed you live in the yeah Really good area now, and you don't live in downtown. So you're not as stressed or like yeah, I strong So you're living situation your home is a reflection of Yeah, you are internally. I'm less like stressed. I I think too. I stopped like being in things Like just like I stopped with things that I was supposed to stop with okay. There's yeah Other things besides that it's not just that yeah, just like overall. Um, but yeah, that's a big one, too. I Think also when it comes down to just like who I surround myself with and I come around like a bit more I think about it the more I like it really just But yeah, I don't know there's a lot. I don't really think that there's like one thing I think it's just like a ton of things Yeah, okay, this clip is 13 minutes long and this is just supposed to be my outro Well, it's not me. Oh, I read out of storage Thank you guys so much for watching be sure to subscribe Follow both of us on Instagram and our channels Joe and I are going to New York in a few days. So keep up Loving you guys so much. I'll be doing this in every vlog It won't be as long leave a good comment something good of substance, you know, okay, love you guys so much. I'll see you guys soon Bye


The Crab Food Company presents the Great Gildersleeve. Hee hee hee. It's the Great Gildersleeve starring Harold Perry, brought to you by the Crab Foods Company, makers of a complete line of famous quality food products. There's something going on at Gildersleeve's house. All day Gildersleeve's niece, Marguerite, has been running up and down stairs, telephoning, consulting with Bertie. And right now, she's closeted in secret conference with her dearest friend, Francie Dillon. Gildersleeve is downstairs possessing his soul and patience. What Leroy Wissard says is listening outside Marguerite's door. Who's taking you to the bed tomorrow, Francie? I haven't decided yet. Three or four boys have asked me, but I hate to tie myself down. Who's taking you? Ben, I guess. What do you mean, you guess? Well, he hasn't exactly asked me yet. Well, for goodness sakes, it's about time. Can't you get him on his horse? Ben'll ask me when I get good and ready. I mean, when he gets good and ready. He's coming over tonight. Honestly, Marguerite, I don't know what you see. And Ben, he's so slow. He wouldn't say that if you really knew him. Well, I might have something. Well, Ben is older than the crowd you run around with. Personally, I find older men more interesting. If you ask me, all boys are alive, even the nicest ones. Just when you think maybe something's going to happen, they're liable to start talking about baseball. Well, Ben likes hockey. What do you mean about something going to happen? Oh, you know. Why?  I never let boys kiss me. Oh, neither do I. Oh, brother. Leroy!  What is this, Leroy? You know we don't listen to other people's conversations. Well, man, this wasn't a conversation. It was just a lot of girl stuff. I don't care. Girl stuff is what girls think is important. Maybe it is to them. Anyway, it's up to you to leave them alone. I never would have listened. Only they practically dared me to. How do you mean? Why should they dare you to listen? I don't know. That's girls for you. I was just sitting there in my room, minding my own business. And after a while, I opened the door to see if I was listening. Oh, were you? Nah, girls. Then they began to giggle and squeal. Yeah, I could hear them way down here. I was coming downstairs anyway, so I just stopped to listen for a minute. You shouldn't have done it, Leroy. No matter how great the temptation, no gentleman listens to the woman's lady's door. Okay, I shouldn't have done it. That's not the spirit, my boy. Say you're sorry. Okay, I'm sorry. That's better. What were they talking about? What do they always talk about? Boys. Boys, you say? Oh, anything in particular? Nah, just a lot of hot air. They're talking about the dance tomorrow night and who's taking who and all that kind of stuff. What kind of stuff? Oh, should I know?  Leroy? Sorry, young. You watch your step, young man. I'll go outdoors and play for a while. Get some fresh air before supper. Okay, that's what I was going to do anyway. And don't slam the... Don't slam the door. No, thank you, my dear.  There's plenty. I don't see why I can't have any. Why can't I have coffee, uncle? When you're 21. 21? For a year, and she's only... That will do, my boy. When you're 21, you may have coffee. Can I smoke then, Sue? If you wish. Boy, that'll be my big year. Doorbells, I'll go. It's probably Ben. Countbounded, Marjorie. I wish your friends would remember that Pete Lee had to practically kick Francie out of here so we could sit down and now... Well, don't keep him standing out there. Oh, I'm all clear. I'll take him in the parlor. She's got to find him up for the dance tomorrow.  Good job, girls. Oh, no. Oh, no. Well, good evening, Mr. Gilbert Slave. Hi, Leroy. Good evening, Ben. Had your supper, have you? Oh, sure. I'll just wait in the parlor while you finish, huh? Oh, we're all through now. We can all go in the parlor. Hey, Ben, you want to see my gas mask? It's really an army gas mask. Costs a dollar and a quarter. I don't think I'd get much fun out of it. Thanks, Leroy. Okay, then I'll show you my new chemical experiment. It's super, Leroy, for heaven's sake. Ben is here to see your sister, Leroy. It won't be necessary for you to entertain him. Shall we go into the parlor, my dear? You don't have to entertain us either, Uncle. What? Oh, well, just for a minute. Say, Ben, did I ever tell you about the time? They don't guy you, Uncle. Well, he does kind of hang around. Why'd you keep asking him questions? He couldn't get away. But just being polite, I have to be polite to your uncle, don't I? You think he was the one you came to see?  Evening's practically shot now. Yeah, I guess it's pretty late at night. I don't think it's particularly late. But of course, if you're bored. Well, not me. I could sit here like this for hours. You want to? I'd like to if you'd like to. Okay, let's... What, Mars? Have you heard anything about a dance to be held in the near future? No, is there a dance? Tomorrow night. Well, that's a near future, all right. You know, I sure wish I could dance better. Silly, you're a good dancer. No, I was bad enough before I went in the Navy. Then with those sailor pants. Too tight. But you've been out of uniform for months. Yeah, I'm out of practice. If you're out of practice, there's only one thing to do. I guess you're right, Mars. I'd better take one of those courses. You don't need a course. All you need is to dance. Why, if we... What? What are you waiting for? Some girls would beg you to take her to a dance. No. I'd never expect anything like that, not in a million years. Well, if you... What? Oh, never mind. Thought you were going to say something. I was, but now I'm not. What time is it? Oh, watch the 10.15. I may be a little slow. You certainly are. What? Oh, go on home. What, a few minutes ago you said... Go home, for goodness' sake. I never want to see you again in my whole life. God. Goodness' sake, Mars. If you're going to play that thing, play it. Don't just make a noise. I'm sorry. Well, you're going to play or not? No, I'm not. Why don't you light someplace, young lady? You've been running around like this all day. I'm sorry if I have annoyed you. I'll try to bear it in mind. I wonder what's eating her. Well, please keep your shirt on, will you? Hello, just a minute, please. Hunky, is it for me? No, my dear, it's for Leroy. Is he upstairs? Leroy? Who in the world cares where Leroy is? I don't know who, but he's on the telephone. Leroy! Leroy! Oh, thank you, Bertie. I'm sorry, but we... All right, Bertie, I'm sorry. Leroy isn't here. You'll have to call back later. Fred, man, look at anybody live in this house. Now, you see here, my dear, if the prospect of a simple dance at the country club puts you into this kind of a state, we'll reconsider it. Ha! What do you mean by ha? I'm not going to the dance, that's all. Not going, my dear, but why didn't you tell me? I wasn't sure, but it's too late now. Besides, what good would it do to tell anybody? I don't understand this, Marjorie. I thought you and Ben, after all, he was here last night. I know. I hinted all I could, but there are limits. I think I went a little past them. But he's so... Well, I don't know. Well, I like a boy that's not too forward. He's flashy, kid. Well, I like him too. But what good does that do now? You can call him, huh?  He can just sit home by himself all evening, just like I'll be doing. Maybe he'll call up. It's too late now. Anyway, I said a few things that might discourage him. Huh? You've got a temper, my dear. I don't know where it came from, but you've got a temper. You've got to learn to control it. Don't start lecturing me. Ha, ha, ha. Marjorie, would you like to go to the dance if you had an escort? Of course I would. I'd like to show Francie I'm not just a poor sap that's stuck with one slow poke of a boy. Well, I happen to know a certain chap, and he's no slow poke. Really? Who is it? A certain uncle, not a thousand miles from here. He, he, he, he, he, he. Huh? How about it? Well... Come on, my dear. By George, I feel younger than Ben right now. Oh, the girl of my dreams is the sweetest girl. Ta-da-da-da-da-da-dee. The president of our country has asked us to conserve food so that we can help hungry people in other parts of the world. So, homemakers, hold on to the leftovers. One of the cleverest ways to serve leftover vegetables or meat or seafood is in a rich golden cheese sauce. Made the easy way with Valvita. This cheese food with the rich yet mild cheddar flavor always melts smooth. Add such goodness and fine food values. As a matter of fact, when you glamorize leftovers with Valvita sauce, you're adding high quality, complete protein, precious milk minerals, food energy, riboflavin, and vitamin A. To make that rich tasting, nutritious cheese sauce, just melt one half pound of Valvita in the top of your double boiler. Then gradually stir in one third cup of milk. Like magic, you have sap and smooth cheese sauce. Perfectly delicious on leftovers and a wonderful help with main dishes during lunch. Tomorrow, look for Valvita at your food store. The name on the package tells you that you're getting a smooth melting cheese food of craft quality. Well, you ought to see the great gilder sleeves crowded into his tuxedo, muffled with a white silk scarf and crowned with a derby. He is a perfect picture of what the well-dressed man once wore. In his left hand, he clenches a pair of grey suede gloves. While with his right, he guides his knees between parked cars across the gravel driveway of the Summerfield Country Club. And is he married? Oh, the dancing we will go. The dancing we will go. I hope... Come on, my dear, sing. A little high for you. A little high for me. I hold a merry-oh, a dancing we... Marjorie, what's wrong? Why are you holding back? Oh, okay, I'm scared. I wish we hadn't come. Scared? Why, that's the most ridiculous thing I ever heard, my dear. Why, you'd be the bell of the ball. What are you scared of? Well, I always get nervous when I go to dance. Ridiculous. Why, the boys will be falling all over themselves asking you to dance with them. And I can tell your old uncle's going to feel a little bit jealous, too. Come on, then. Oh, well, he's not just yet. Let's not go in a lot of ways. Let's just wait out here a little while. What for? Marjorie, honey, what's wrong? Oh, nothing, really. I want you to have a good time, my dear. You know that. Oh, I am. I'm enjoying it very much. So nice out here, the stars and everything. Yes, yes. Listen. The music. Wouldn't you like to go in now? Oh, not yet, not yet. It's not going yet. Very well. Marjorie, I'm going to tell you a little story. Once upon a time, there was a little girl and her name was Cinderella. And Cinderella was very sad because she was afraid she wasn't pretty and she was afraid nobody liked her. She was afraid she wasn't going to get to go to the ball. She was afraid of everything. But along came her fairy godmother and waved her magic wand and all of a sudden, lo and behold, Cinderella was wearing a little white bunny jacket just like yours. And on her feet were little gold slippers just like yours. The slippers were glass. All right, they didn't have gold in those days. And then the fairy godmother waved her magic wand again. Only this time, she waved it over a pumpkin. And what do you think? It turned into a 1938 Studebaker just like mine. Yeah.  That's the way it's going to be with you, my dear. You're Cinderella, you see? Oh, Uncle, you're so nice. I guess you must be Prince Charming. Prince Charming? Oh, no. He's inside there waiting. Probably got a crew haircut and a pug nose. No, I guess I'm just your fairy goduncle. Or maybe I'm built more like the pumpkin.  Wonky, this is better. I don't know why you want to hide way back here, but it's your party. Sit down, my dear. Waiter, do me a favor, will you? Ask the band leader when they finish this piece if you'll play the sweetheart of Sigma Chi. Oh, come on. That's a wall. Well, a wall is my specialty. Then I do them all, of course. Charleston bunny hug anything. You name it, I'll do it, my dear. What do you say? Shall we take a crack at it? Well, not just yet, Uncle, if you don't mind. Let's just watch a while. Oh, my dear, we came here to dance. Come, come on, your feet. Come on. What's this? They're stopping. We just got here. Sweetheart of Sigma Chi, fellas. Play the Sweetheart of Sigma Chi. Uncle Morton, please. Everybody's looking at you. Please sit down. Pretty good crowd here tonight. Do you know any of these young people around here, my dear? A few. Why don't you speak to them? Invite them over to our table. Maybe some of them will dance with you. Which ones are they? Oh, no, Uncle, please. Why not? This is a party. We can't just sit here and moat. Cheer up, my dear. Smile. Look, I'll show you a little trick. You ever see this one? I put the water glass here, and the spoon here, and another spoon on the top of it, so. Now, the trick is to hit this spoon, make the other one jump into the glass. Here, watch. I'm watching. I didn't hit it hard enough. Good trick, though. Try again. Watch. Oh! Oh! I beg your pardon, ma'am. Uncle Moore, don't go after me. I miscalculated a little, I'm afraid. I was just trying to entertain my niece there. Hope you'll forgive me.  Do sit down, please. That wasn't a bad shot this way. Uncle Moore. Yeah, I think the band's getting ready to play again. Yeah, they're gonna play the sweetheart of Sigma Chi now. Oh, I gotta dance for this. Pretty fair maiden? Which beat better measure with me on young dance floor?  Who's being corny? I'm trying to give you a good time. Well, sit down, please. Don't take it all dressed up. I'll take you way out here, and all you do is tell me to sit down. Don't even wanna dance. What's the matter?  No. Of course not. I just... Well, maybe I'll be like dancing a little later. Good. Well, why don't they go ahead and play? Uh, here it comes. That's not the sweetheart of Sigma Chi.  Already, I hate it. The band spends all the time putting on funny hats. Unfounded, I'm a paid-up member in this club. I gotta write to request a number and have it played. Uncle Moore, let's dance. Huh? Please, let's dance quick. All of a sudden, now you wanna dance. What is this? Maybe I don't wanna dance now. Get out, please. Well, I can't dance to that thing. You don't have to, just pretend. What's funny? Hey, what's going on here? Ben just came in with Francie. Ben? Where? Never mind, don't look. That's me across the floor. I'll be the other side quick. Oh? Sorry, ma'am. Ben's with Francie, you say? I'll get you to do it, my best friend. No, Marjorie, I'm sure... Thanks, okay, I'll see you later. Wait, wait, where are you going? To the powder room. Marjorie, if you're going in there to hide, Marjorie, wait a minute. Now listen to me, you can't... Okay, Marjorie, you can't... Pardon me. I know. I had about half a dance with her since I brought her here. She was popular with the stag line. Ben, I wanna talk to you. Sit down. Oh, better not sit on that bench. Do on it. Too late now. You know, Ben, I don't know what happened yesterday between you and Marjorie, but... Neither do I. Huh? She just suddenly got sore at me. I made you think she was sore at you. You told me she never wanted to see me again as long as she lived. Is that all? Well, that's it, isn't it? Ben... Then I told her, well, that's the way she felt. What in the world made you think that that was the way she felt? Well, that's what she said. Oh, Ben, we're gonna have to start from the beginning with you. Well, that's the way it was. Then I ran into Francie later and she said, who did I go into the dance with? And I said, nobody, I guess. So then the first thing you know, I found I was going with Francie. Darn it. I guess I just don't understand, girl. Yeah, well, who does? But I can tell you one way to get along with him. What's that? Hey, no offense in anything they say. I take Francie. She wanted you to take her to the dance, didn't she? I guess so. It wasn't my idea. And where is she? Off with somebody else? In Marjorie? She said she never wanted to see you again. That's right. And where is she? In the powder room, crying her eyes out. Gee, do you think so? I know it, Ben.  And when she does, well, you're on your own. Well, what about Francie? I'll take care of Francie. I'll fix her wagon, if she ever turns up. You've got me, children. Enjoy yourselves. Just the same, I wish I'd brought somebody to enjoy myself with. Nobody will play sweetheart as Sigma Chi. Oh, pardon me. I thought this table... Mr. Kildesley. Well, hello. Hello, Francis.  Oh, but I thought this table... I mean, it's so nice to see you, but where's Ben? Oh, Ben's around, I guess. No, isn't that awful? I turned my back for one minute and... Hi there! I turned my back for one minute and... As a matter of fact, I think Ben is dancing with Marjorie, or he was. Marjorie? Don't tell me Marjorie's here. I understood she wasn't going to be able to come. Oh, she came. I'm a seer. What did Marjorie come with? Me. Oh. Ben and I thought we'd swap girls for a couple of dances with your permission, of course. I hope you don't mind. Oh, not at all. No, that's fine. Well, hey, sit down. Yes, sir. Well, how have you been, Frances? Oh, fine, just fine. That's good. Motherwell, is she? Oh, yes, she's fine. That's good. You know you're here? Oh, yourself.  You seem to have a great many acquaintances here, Frances. Oh, you know, just boys. I know that's it. Is that chair uncomfortable? Oh, no. I just always hate to sit still, I guess. Oh. Would you like me to show you a little trick? Oh, I love tricks. Hi, Freddie, what's new? Frances, you're not watching. I do this trick with two spoons in a glass of water. You see, I place one spoon. They're playing it. What? The sweetheart of Sigma Chi. Oh, that old thing. Oh, it gets me every time. Hi, George. I'm not going to just sit here. Freddie, fair maiden. Would Steve Freda measure with me on yon dance floor? I beg your pardon? Would you like to dance? Oh, well, see, I'd love to, Mr. Kildersley, but honestly, I dance so much and I'm so out of breath and my feet are so tired. Oh, I see. Well, never mind. This just happens to be my favorite dance tune. That's all. Really? How can you like anything so slow? So slow. Gee, well, for goodness sakes. Hi. Hiya, Freddie. What do you say we show these ickeys how to break up this old chestnut? Well, the only thing is... I think the young man is inviting you to dance, Frances. Would you mind? No, no. Go ahead. Then. Oh, thanks. Oh, dear, you're giving me a lot of things. Uh, lemon kind. Or feet are tired. Nobody will play my tune when they play it. Nobody will dance with me. Well, I suppose I might get Ben to bring Marjorie home. Then I can... Ooh, dear Sue. What's this? Let's go. Let's join me at my table, won't you? I'm all alone here. I don't... I didn't see you. People come in. Oh, we just this minute or odd. We're terribly late, I'm afraid. I waited exactly one hour and one half while Lila dressed. Oh, now, Horace, don't stop that again, please. He's been crabbing all the way over here. I can only say, Lila, that if it took an hour and a half, it was time well spent. Well, thanks, Mr. Osmode. Now, why can't you say nice things like that, Horace? Lila, can you hear what they're playing? This is the way home. I'm Sue. Prissy, fair maiden. Would you better measure with me on Yann's dance floor? They're fair, sure, I would. And that rides lightly. Well, what's so funny? You'll pardon us, Judge, while we trip the light fantastically. Now, look here, Gelder Slave. I'm the one who brought her here.  Here, have a glass of water, Judge. Enjoy yourself. Come on, Lila. On with the dance. Let joy be unrefined. Oh, Mr. Osmode, not so tight. Yeah. I love the walls.   Oh, and you lead beautifully. Your show's my destiny. I'll be clothed rock-mort, not to waltz with you all night. Lila, why shouldn't we waltz two lights together? Oh, why shouldn't we? Oh, nuts. Well, there's the answer. You can't gloss to that. You and your funny hats. Ladies and gentlemen, this past week, over a million and a half boys and girls who live on America's farms have been celebrating National 4-H Club Week. In farming communities everywhere, these 4-H club members have been making plans and putting special work behind their win-the-piece goals. One of the most important of these goals is to help produce more food for the war-torn world. We all know what a tremendous contribution 4-H clubs made to wartime food production. Now we want to congratulate these farm boys and girls on the way they're facing the challenge of today's big jobs. The people at Craft are acquainted with many, many of these boys and girls who are doing such fine work. To every 4-H club group, Craft wants to wish the very best of success in this splendid new program. Good night, everybody. The Great Gilder Sleeve is played by Harold Perry. It is written by John Whedon and Sam Moore. The music is by Jack Meakin. Lee Roy and Marjorie and Birdie are played by Walter Tetley, Louise Erickson and Lillian Randolph. Leela Ransom is Shully Mitchell and Judge Hooker is Earl Waltz. This is John Lang speaking for the Craft Foods Company and inviting you to listen in again next week for the further adventures of The Great Gilder Sleeve. We're into the Lenten season and that means more egg, fish and cheese dishes on many menus. So now's the time to call on the flavor magic of craft salad mustard. This tangy, golden craft salad mustard adds extra zest to cheese fondues and Welsh rabbits, peps up cream sauces for fish and hard-cooked eggs. It's so appetizing in so many ways you'll surely want craft salad mustard handy when you prepare Lenten meals. And to please sharp for taste, also buy a jar of craft mustard with snappy horseradish added. Get both kinds. They're both extra delicious. This is NBC, The National Br...