Suggestions for technical improvements #134
Replies: 8 comments 2 replies
-
We should probably add a state library like redux so we can have all the application state in one place and are able to subscribe to "slices" of this state in components. |
Beta Was this translation helpful? Give feedback.
-
We should probably introduce a |
Beta Was this translation helpful? Give feedback.
-
We could switch to final-form-calculate for indicators and totals |
Beta Was this translation helpful? Give feedback.
-
We should look into ways of make the Disclaimer: it was @Birkbjo who suggested this to me. |
Beta Was this translation helpful? Give feedback.
-
From the perspective of the data entry fields (i.e. the inputs), it would make a lot of sense if the entire form-field state was provided by react-final-form. We could take the following approach to achieve this:
This way, we can easily update individual fields from the |
Beta Was this translation helpful? Give feedback.
-
We should ensure all queryKeys / queryKeyFactories are implemented and organised in the same way. |
Beta Was this translation helpful? Give feedback.
-
"Our" data engine returns |
Beta Was this translation helpful? Give feedback.
-
We tend to use full variable names, such as |
Beta Was this translation helpful? Give feedback.
-
After the first release of this app, we need to probably take some time to refactor some parts of this app. This GitHub issue can be a place where we collect things we would like to see improved. We can comment here about things that need to be optimised, parts of the code that are hard to work with, or need better test coverage. If you already have a solution, or a global direction of how to address the problem in mind, please include that in the comment.
Beta Was this translation helpful? Give feedback.
All reactions