Posts Tagged
React

Reading Log - May 19 (#29)

I’ve finally started going through all my RSS feeds, so there’s a lot to this week’s log. The topics are all over the place from the IRS doing what it should have done from the beginning, to a boneheaded decision to add some new top level domains, to the US Supreme Court saving Section 230.

Mocking React Router and useParams

One of the things I needed to do recently was write unit tests for one of the pages of Digital Family Cookbook where I pull a value from a query parameter in the URL. I ended up having some trouble with it so I figured I'd share what I did to get it working.