Turns out building this in plain vanilla JavaScript instead of reaching for React can actually work pretty well. Who knew?
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
10 Likes
Reward
10
5
Repost
Share
Comment
0/400
PonziWhisperer
· 11h ago
Haha, no way, vanilla JS can actually do this efficiently... Framework addiction is acting up again.
View OriginalReply0
SatoshiLeftOnRead
· 11h ago
Is vanilla JS not good enough? Why make it so complicated... I just realized it too.
View OriginalReply0
TokenDustCollector
· 11h ago
Pure JS can actually work? React fans must be feeling uncomfortable now haha
View OriginalReply0
MEVHunter
· 11h ago
Wow, can vanilla JS really do it? Doesn't that mean React might be over-engineered? Thinking about those gas fee optimization tricks, sometimes the most straightforward solutions end up earning the most...
View OriginalReply0
VitalikFanAccount
· 11h ago
No, can vanilla JS really do it? I always thought you'd have to write a bunch of boilerplate without React.
Turns out building this in plain vanilla JavaScript instead of reaching for React can actually work pretty well. Who knew?