Glad I could help! Yes, consistency of terms is important, and try to use the term from the specific domain. I'm not a react dev, but if "directory" is the term most commonly used, go with that!
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.