Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While this convention feels overly complex, it fulfills the requirement of the vue.js style guide that component names always have to consist of multiple words.

Properties Promotion

We do not hand over objects via properties from the <Entity>Details page to the different sub pages. Instead we carry over the ID. This has the downside, that we now need to load the object for this ID in the onMounted method of every view, but has the upside of being free to do, whatever we want in the sub pages without getting “unexpected mutation of prop”. The record is fetched from the store, so that there are no additional roundtrips to the backend. This looks cleaner like creating a computed property that mirrors the prop.