This solution is generated by ChatGPT, correctness is not guaranteed. You might also be able to find a solution fromcommunity postsor official solution page.
AI solution for React Quiz on BFE.dev
2. React re-render 2 - memo()
The code outputs the following by console.log:
A
B
C
App
D