This solution is generated by ChatGPT, correctness is not guaranteed.
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
The code outputs the following by console.log:
A
B
C
App
D