
Sign up to save your podcasts
Or


https://kentcdodds.com/discord
Hey there friends I want to make an invitation to you So yeah you're not
If that's a case then you can actually come to my office hours which you'll
And so yeah, it's a fun place and there's a special channel the three
But yeah, I'd love to hear what you all would like to me to talk about. So,
So anyway, so you go to ketots.com slash discord to go join the discord and
There's also an OSS raid group that's open source group of people who like
So yeah, it's a good time. So if you come for no other reason than to just
Bye.
Hello friends, so today I'm driving so that's the background noise you're
That method of madness and then you build it in the other way and you get
Didn't take me a whole lot of time to try both and then you know comment
I hope that is marginally useful to you at least and really interesting and
Hey friends so today I wanted to talk about how important it is to
So there's nothing wrong with saying hey boss, I did this thing and it was
And so you can say, hey I boss like I had this problem and I worked with
You can also do this if it wasn't your accomplishment, but somebody else's
So,You know if you really enjoyed working on this particular task, then you
It just gives you an opportunity to connect with your higher-ups. And if
It just it increases the positivity in your organization, which I think is
So anyway, I hope that you take an opportunity this week and just like,Find
Hello everyone. So today I want to talk about testing redux. So I know that
So anyway, as far as testing redex goes. You shouldn't actually ever be
But most of the time you don't need to bother most the time just rest the
I can move this to local state or whatever then that's
So readax is an implementation detail. Don't bother testing read
And on top of that you also get your map dispatched to props and whatever
So, you don't have to worry about refactors breaking your tests, the the
Hello friends, this is a little bit later than usual but I just wanted to
Give that a type annotation. And anyway, one of the as I was migrating this
Callback function. And so in our example, we had an array of errors that
An object that has a message property. So anytime you are you have a dot
So anytime that callback function requires that you add type annotations.
So if you're ever doing a radon map or a radar every or a radar sum or a
Don't do that go fix the array first. Hope that's helpful. Take care.
Today I was in a piano discussion for test JS Summit and a question was
And I talk about how I recommend that you focus on integration and
And that can be very difficult to track when you are just mocking all the
Maybe you have some functions that are doing some computations in there a
And so we'll have a single integration task that's or maybe a handful of
You get some result back. And these types of tests run really fast and
If you go to https://kcd.im/trophy, you'll find it it's a static versus
Hey there friends So none of you are content creators none of you aspire to
I create is actually not paid. My but like I often actually get asked about
How to use Angular with React and so I'm going to make a conference talk
And in the process of creating that content, I'm learning a lot about both
In whatever form you want but blog is pretty straightforward most people
So don't worry about it and and really your goal isn't necessarily to
I'll give you an example yesterday.I was writing my weekly blog that I
It was a fetch implementation for fetching Pokemon using this API. Anyway,
And so in the process of creating this blog post, I learned.More about the
I'm gonna make a library to do that. So anyway, I would encourage you to
https://github.com/kentcdodds/rename-gh-to-main
Hello there friends. So today I'm going to talk about what I did yesterday
And so I decided I wanted to support that and I wanted to.Get everything
And so I needed to use the UI. So what I did yesterday is I actually
It was actually pretty straightforward. They're just a handful of lines of
To develop it because Cypress actually pulls up a real browser and you can
So you should go take a look at that. It was like an hour and a half you
So yeah give that a look. It's kind of interesting and I hope that you find
Hey there friends. So today I'm going to talk about testing and the users
It really just comes down to what you want to get confidence in. Most of us
So once you've identified the unit of code that you want to have tested the
And in fact most of the time,You're going to have two users of your code,
So you have those two two users of your code. And so then as you're
Because they're like for an application there are some parts of the
So once you have decided what use cases you want to support you just go
How do I show that use case in my test? And then you write code to do that.
Hello everyone So today I'm going to talk about TypeScript and tricking
I don't really use that. There's actually two reasons. One of them is
But the the biggest reason is that most often if TypeScript thinks that
So I'm thinking about a specific example that my friend Peter on discord on
Sorry, it will stringify it to the string of null and then the result of
So,What I did was I did the double question marks, whatever that's called
And he suggested that oh why don't you just do a bang on that on the end of
And so,But he also suggested you could also just pass it to the string
What it actually will be in reality. And so it's not just communicating to
Hope you're having an awesome day, we'll see you all next time.