某日
[圖片上傳失敗...(image-e1ba59-1656075967394)]
React:喲,jQuery。你來這里干嘛,小辣雞。這里是我們的地盤。
// React
export const Dance = () => {
return <span>?? ?? ?? ?? ?? ?? ?? ?? ??</span>;
};
<!-- Vue -->
<template>
<span>?? ??♂? ??♂? ??♂? ??♂? ??♂? ??♂?</span>
</template>
React:你知道嘛,這地方不收辣雞 ??
Vue:也不歡迎你~ ??
// React
export const Dance = () => {
return (
<ul>
{['??', '??', '??', '??', '??', '??'].map((dance) => (
<li>{dance}</li>
))}
</ul>
);
};
<!-- Vue -->
<template>
<ul>
<li v-for="dance in ['??', '??', '??', '??', '??', '??']">
{{dance}}
</li>
</ul>
</template>
React:現(xiàn)在聽好了 jQuery,我和 Vue 這周要舉辦一個(gè)超 dio 的派對。所有前端框架都會(huì)出席,但你猜,誰會(huì)收不到邀請?
Vue:你~~~~~
React:麻溜回家吧 jQuery,不然就留下來替我重構(gòu) ?? 山。
Vue:哈,React 你嚇到他了 ?? 哈哈哈
React:誒~~ 氣死你~
[圖片上傳失敗...(image-1de2da-1656075967394)]
派對中
[圖片上傳失敗...(image-499879-1656075967394)]
Angular:嘿 jQuery,誰邀請你這個(gè)過氣框架來的?
Angular:噢,微信小程序是吧?
Angular:哈,你應(yīng)該知道他邀請你只是為了拿你說笑的,對吧???
微信小程序:不是這樣的~
Angular:閉上你的臭嘴!你這個(gè)縫合怪!??
Angular:倒是你 jQuery,你是怎么過來的?怎么?是你媽媽 Vanilla JS 送你來的嘛?哈哈哈哈 ??
jQuery:嚶嚶嚶嚶嚶嚶嚶嚶嚶嚶嚶嚶嚶嚶嚶 ??
Angular:聽好了 jQuery,想要留在這里,你必須要斗贏我。我先來:
<div *ngFor="let dance of dances">
<span>{{ dance }}</span>
</div>
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app',
templateUrl: './dance.component.html',
styleUrls: ['./dance.component.css']
})
export class ProductAlertsComponent implements OnInit {
products = ['??♂?', '??♂?', '??♂?', '??♂?', '??♂?', '??♂?', '??♂?', '??♂?'];
constructor() {}
ngOnInit() {}
}
[圖片上傳失敗...(image-c0c0f5-1656075967394)]
段子無意引戰(zhàn)和指向,請勿對號入座。