sudheerj / reactjs-interview-questions

List of top 500 ReactJS Interview Questions & Answers....Coding exercise questions are coming soon!!
38.18k stars 9.11k forks source link

Question 7 code block - remove unnecessary usage of 'use client' #287

Closed mrAJAY1 closed 7 months ago

sudheerj commented 7 months ago

Note ErrorBoundary is a client component. You can only pass props to it that are serializeable or use it in files that have a "use client"; directive.

mrAJAY1 commented 7 months ago

Didn't check the docs of Error boundary, my mistake.