- Bind UI input values to custom properties of the view, and reference those instead of the input value itself. It not only makes for cleaner code without a bunch of
getChild/getSibling
nonsense with hardwired component names, but ensures that you can reorganize and rename components without breaking those references. - Name your UI components/containers. It may seem like unnecessary effort in the short term, but in the long term it will save lots of hassle when trying to navigate your way down to a specific component.
- Browse this forum regularly. I have learned many valuable tips just from reading responses to other people's questions.
16 Likes