Unit testing reducer functions with JestWe mostly check if our app is working as it is intended to in the UI. If the UI breaks, we would know that there is something wrong with our logic. But what if we could do this without breaking the UI? Yes, this is where we could use testing. It tell...Jun 20, 2021 · 3 min readjanaki2399.hashnode.dev
Understanding useState hook with a real-world example -Part 2Most of the time while working with real-world applications you would have to use arrays, objects, or an array of objects as states. In this blog, we will be implementing the add note, pin, unpin feature of Google Keep app with just useState hook. P...Jun 16, 2021 · 4 min readjanaki2399.hashnode.dev
Understanding useState Hook with a real-world example - Part 1If you are starting with react useState Hook is the first thing that you should understand and practice. I started learning React a few months back. When I started, I made a few apps with just useState hook. And then when I learned useContext,useRed...4HSKApr 14, 2021 · 5 min readjanaki2399.hashnode.dev