This solution is generated by ChatGPT, correctness is not guaranteed.
AI solution for React Quiz on BFE.dev
9. React re-render 6 - Context
The code outputs the following in the console:
App
A
B
C
B
D
The code outputs the following in the console:
App
A
B
C
B
D