A quick way to debug invalid dom nesting warning in React
How many times have you received an Invalid dom nesting error like the following one in React or Next.JS?
Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.
From the above error, it can be known that somewhere inside a <p> ...
sabinbaniya.hashnode.dev2 min read