Answer the question
In order to leave comments, you need to log in
What approach should you take in React when dealing with models that have many different dependencies?
Hello! Thanks in advance for your help :)
An application written in React.js accepts api records that have multiple relationships (one-to-one, one-to-many). The records contain the dependency IDs, not the dependency data itself.
For example, a transaction model has dependencies:
- cash desk
- expense item
- counterparty
- author
- tags There are
at least ten models with multiple dependencies.
What approach to choose to beautifully organize the structure of the state?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question