Scan and import classes ReactJS

Viewed 44

I need to scan files, get classes name and dynamically import classes from a specific directory. A possible solution is to first scan the files and then import them using import() Is it possible to implement this in ReactJS?

0 Answers
Related