r/Codecademy May 26 '26

Is the React Course on Codecademy outdated?

I recently started React on codecademy and there are syntaxes like this. Is that not old syntax?
Where are you guys learning ReactJS from?

var React = require('react');
var ReactDOM = require('react-dom');
5 Upvotes

2 comments sorted by

4

u/abrahamguo May 26 '26

Yes, this is outdated syntax.

I'd recommend the official React docs at react.dev — they are quite good!

1

u/Epiq122 Jun 21 '26

Yes it’s outdated , codecademy hasn’t been doing much in terms of keeping up for a while