Since adopting typscript, the way I usual approach my development is that I clearly define data types on ui and then the implementation details tend to reveal themselves.
There is a quote I saw somewhere, forget where, but it was basically: define your data structure and the algorithms will reveal themselves.
There is a quote I saw somewhere, forget where, but it was basically: define your data structure and the algorithms will reveal themselves.