Templates or typed views
Choose between declarative HTML templates and type-safe DOM construction.
Use these guides when more than one feature can solve the problem:
Each page gives a default and the conditions that justify another choice.
Choose between declarative HTML templates and type-safe DOM construction.
Put state at the narrowest lifetime that satisfies its consumers.
Select a network transport from the communication pattern and fallback requirements.
Choose the simplest animation mechanism that meets sequencing and control needs.
Choose the correct ownership and interoperability boundary.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.