Content pfp
Content
@
0 reply
0 recast
0 reaction

typeof.eth 🔵 pfp
typeof.eth 🔵
@typeof.eth
> What is the difference between a tag and a function call? > > Here’s a tag: <p>Hello</p> > Here’s a function call: alert('Hello'); > > One difference is that `<` and `>` are hard and spiky and `(` and `)` are soft and round. Okay, banger https://overreacted.io/react-for-two-computers/
2 replies
0 recast
8 reactions

Marc pfp
Marc
@marcgarcia.eth
There are more differences, syntax is more extensive on functions. Like "async function", generators "function *". While we are still struggling to have async features on "createElement" or even streams afaik. But I understand the article is trying to advocate for the mental maps of react as a functional tree
0 reply
0 recast
0 reaction

nkemjika.eth pfp
nkemjika.eth
@nkemjika
😂😂😂 I love this. Is the <T> for generics a tag too?
0 reply
0 recast
0 reaction