npm run dev uses an older version of node code example
Example: npm start using old files
this is most likely to be a problem in my code. this time I used named import
whereas I as trying to do default export. and rce also made export class something
which i forgot to remove. so there was no problem with the react-script