best way to store data
Answered
Amur catfish posted this in #help-forum
Amur catfishOP
So i have permanent constant data, such as a list of languages. whats the best way to store these so that i can access them in client components for things such as select menus? i want to have them in a separate file
Answered by B33fb0n3
I like to create a „constants“ in my lib folder, if that are constant variables. If I have a lot of data, that should be stored, then I would create a „myDataNamd.json“ and read from it
4 Replies
@Amur catfish So i have permanent constant data, such as a list of languages. whats the best way to store these so that i can access them in client components for things such as select menus? i want to have them in a separate file
I like to create a „constants“ in my lib folder, if that are constant variables. If I have a lot of data, that should be stored, then I would create a „myDataNamd.json“ and read from it
Answer
@Amur catfishsolved?
@B33fb0n3 <@743178476982370386>solved?
Amur catfishOP
my fault, yes