I have been working on this app taht will store medical resources for students and physicians to reference quickly…react is a great choice due to the speed of the SPA. I’m a little stuck on how to progress now.
I have complex object (nested objects/arrays with nested objects/arrays), and spent about 8 days creating the “new” form which ended up being about 5 components with some conditional rendering depending on the type of new object being added. Here’s the form… each of the dropdowns expands, one has an embedded form as well.
Next, I’m trying to add editing features to my app. I will need to use a different database query of course to update rather than create. I’m wondering if I should handle all that conditionally within one component … or have it as two separate concerns.
I have done the recipe front end react challenge, but this is more complex. I’m not sure of there is a standard answer or if it can be done both ways…or if there is a best practice.
Also, I’m not sure why I’m having a mental block with this, maybe because it’s react and not EJS