Namit Singh Nirwanvpnwan.hashnode.dev·May 21, 2024Integrate Firebase Forms to NextjsBefore you begin Prerequisites A Firebase Account Knowledge of Next.js and JavaScript What you'll learn How to use Firebase with the Next.js App Router and server-side rendering. How to Send images in Cloud Storage for Firebase. How to read an...Next.js
Royal JainforCodeParrot 10x Dev10xdev.codeparrot.ai·Jan 2, 2024Use Ref in React - the right wayReact offers a powerful feature called 'ref.' Understanding how to use ref correctly is essential for React developers. In this article, we will explore the basics of ref, common pitfalls to avoid, and advanced use cases Basics of Ref in React What i...57 readsReact
Fernando De La Madriddeadcode.hashnode.dev·Feb 17, 2023How to properly set focus on an input elementAutofocus When you want to draw the user's attention to a specific element upon initial rendering, the autofocus attribute can be a quick and effective solution. This attribute tells the browser to automatically give the element focus when the page l...26 readsfocus
Riju K Sajeeblog.rixlayer.dev·Jan 6, 2023Understanding the 'ref' Attribute in ReactIn React, the ref attribute is a way to access the properties of a DOM element. It can be used to get the value of an element, set the value of an element, or invoke a method on an element. The ref attribute is created using the React.createRef() met...64 readsReact.jsReact