DEV Community

Abhirham Savarap
Abhirham Savarap

Posted on

Need ideas on building a react app which works seamlessly with different versions of database.

I am planning to build a react web app. However, I want to make it work with different versions of database, where there will be difference in data sent back and difference in the fields used to access data. How should I handle this efficiently?

Top comments (1)

Collapse
 
fly profile image
joon

I think we need more variables defined on the subject matter.
Does it need to access different types of databases on runtime?
Sql or nosql or both?
Does the data need to be exported and imported to and from each database?
The answer varies from "I'd rather go online shopping for a rope and stool" to "possibly doable if you structure your code this and that way" according to said variables :)