I have requirement to import all json file which are placed inside the folder.
My Current Implementation -
import TXT1 from "../Assets/TTCS1.json";
import TXT2 from "../Assets/TTCS2.json";
export { TXT1, TXT2 }
I feel above implementation is not a good practice. I want to import all files once without importing every file.
Can any one help me to give good suggestion on this?
Thanks in Advance.