SNSharath Nairinsharathcodes.hashnode.dev·Jun 9, 2022 · 5 min readCustom Hooks and More!!! Ft. ReactWhy Custom Hooks? Ever since Hooks were introduced in React in its v16.8, people started falling in love by using it to build buttery smooth UI with less and readable code. So did I. Hooks made our lives easier than anything else ever did. These ar...00
SNSharath Nairinsharathcodes.hashnode.dev·May 11, 2022 · 5 min readReact Component - Yours Recursively!Ever Wondered why Recursion would ever be needed in Front-End? Well it turns out, it's needed! To give you a real-life example, did you ever observe how the comments for any Social Media post has reply feature to it. Additionally, even replies hav...03IPI
SNSharath Nairinsharathcodes.hashnode.dev·Apr 8, 2022 · 5 min readWhat is the deal with Environment Variables in a Front- End Application?Hey. How do you deal with environment variables in your Front-end (say React) Application? But before that, let me give a gist about what it is. What is Environment Variables? It is a convention to store all the sensitive information that you deal ...01G
SNSharath Nairinsharathcodes.hashnode.dev·Jan 11, 2022 · 3 min readWhat The T. D. Z. !TEMPORAL DEAD ZONE You read the title right. Even pro developers forget this aspect of JavaScript sometimes. But let's take a look at why does it even happen in the first place quickly. var: Before ES6, variables were declared using var which never...00