Good morning sir. I want to display arrow function Country. I have error. Thanks you sir. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Good morning sir. I want to display arrow function Country. I have error. Thanks you sir.

Display arrow function react. https://code.sololearn.com/WHUAxK58AWb6/?ref=app

18th Feb 2022, 6:54 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 1
There is some problem with React library you are importing. I replaced this with new version of react and reactDOM, and it works. I also set code in html script with type "text/babel", it didnt work in js tab, here on sololearn https://code.sololearn.com/WKqbb5s4Mi3B/?ref=app
18th Feb 2022, 10:03 AM
PanicS
PanicS - avatar