React Hooks let you use state and other React features without writing a class.
If youβre new to the React community or well-practiced youβll have heard about React Hooks. A very useful way for us to embed stateful logic in a functional component, without having to turn it into a class component. It also means we can share state between components easily, without the need for a Higher Order Component.
In this example, I wanted to use something a little different from React state but instead, state from the URL to read and update the search parameters. β¦
Landing a job in tech, especially if itβs your first can be tough. Thereβs plenty of competition out there and often graduate programs or junior positions have the most applicants. As someone whoβs been through many, many resumes in my time, Iβve seen some really common mistakes being made over and over again. Here are a few things Iβve learned over the years that will give off a great first impression and help you land your next job in tech.
This is perhaps one of my biggest issues with a resume, a skills chart. β¦
Before we get stuck in, this post is by no means affiliated with LogRocket. Iβve not been paid to publish this post or advertise their product. I just think itβs awesome and worth sharing.
Weβve been using this tool across about stage and production builds for the last 2 or 3 months to track our usersβ sessions while using our application. This sounds a bit creepy and maybe it is, but the power behind that concept is pretty incredible. LogRocket provides tools to let us blank out user details to keep them private and we donβt share any sessions outsideβ¦
Itβs no secret that micro JS libraries have exploded in popularity in the last few years. It can be a little overwhelming figuring out where to start looking for useful, maintained, and reliable libraries that you can include in your codebase but not boat it out with huge fully featured frameworks to use a handful of their features. Here are a few great libraries Iβve used that can elevate any size JS project.
Perhaps my favorite library, I recently pulled this into my most recent project. Iβve used different methods in so many places to improve the readability of theβ¦
For anyone with experience writing interactive tests, they will know all too well these types of tests are temperamental at best. So many factors can affect them, that when they fail the first reaction is the test is faulty, not the code itβs testing. This was exactly my experience with our original Cypress test suite, not the fault of the tools (honest) but the way the tests were written.
As a bit of perspective, the test suite we had was very small, written over a Christmas break period, and poorly maintained. Not a great start! However, after a post-release bugβ¦