From what I've seen so far, the Repository pattern seems to be a great thing and is widely used in application logic in C# and Typescript environments. As far as I understand it, it's used for when we have a lot of data manipulation functionality and it's a good idea to abstract those functionalities, so that we avoid repeating the same logic for manipulating data throughout our app and also abstract the specific database communication, so that we can easily switch if needed.
Does it fit with the React ecosystem though and why does it seem that no one uses it in Javascript in general?
Aucun commentaire:
Enregistrer un commentaire