Deep Work: Summary and Notes

Summary * Chapter 1 is mostly author trying to convince about deep work and why it is important. Which is one of the biggest chapter in book. * There are few good tips about how to reduce distraction and focus more. * Personally I think, this book could have been a one detailed…

California-Oregon Itinerary

If you are planning a trip to San Francisco and want to make the most out of your stay, then this itinerary is perfect for you. In this blog post, we will guide you through an eight-day trip that covers some of the most iconic and picturesque places in California.…

Why We Sleep by Matthew Walker: Summary & Notes

Summary Only book I ever read which talks about importance of sleep. Definitely worth a read for better understanding why we sleep and for those who have hard time sleeping. After reading this book you will be convinced how sleep plays major role in our day to day life and…

Simple react-hook-form with Material UI

In last post I mentioned some differences between redux-form and react-hook-form. In this post I will show you how to create simple form with Input name and email. First, we will declare useForm() const { register, handleSubmit, errors } = useForm(); and then create onSubmit function to handle form submit which will just…

My experience with React-hook-form and redux-form

In my recent project, I had to use forms at multiple pages and started with redux-form which is very well built with nice documentation. After a month I came across React-hook-form and it seems way simpler to use, particularly validations. Few things which catch my attention about React-hook-form were: * Less…

My workspace setup (2020 edition)

IDE * I mainly use VS code. Here is the screenshot of how my IDE looks like. * Current theme I am using is ReUI . * Few extensions which make my life easy. * Beautify * ESlint * Bracket Pair Colorizer * Prettier * Remote SSH * Live Server Terminal * My terminal of choice is iTerm2. I'm using the…