Try   HackMD

title: React, Vue and Angular
tags: common

React Vue Angular
<> <template> <ng-container>
js map (key) v-for (:key) *ngFor
v-if *ngIf
v-for/v-if can't use together *ngFor/*ngIf can't use together
<Component is:="" /> *ngTemplateOutlet *ngComponentOutlet
constructor created ngOnInit()
componentDidMount mounted ngAfterViewInit()
componentDidUpdate() updated ngAfterContentChecked()
componentWillUnmount unmounted ngOnDestroy()

Lifecycle

React

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vue

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →