正在加载视频...

视频加载失败

How in the heck do you do this without something like React?

176,444 次观看 • 1 年前 •via X (Twitter)

10 条评论

Ryan Florence 的头像
Ryan Florence1 年前

I'm going to try with custom elements sometime, but first I've gotta finish and ship this thing

Solar Heavy 的头像
Solar Heavy1 年前

who do these vocals remind you of?

Josh Manders 的头像
Josh Manders1 年前

The same way React does it? The fuck you mean how do you do this without React? React isn't magical. Everything that it does can be done outside of React. I can do this in Vue, Svelte, jQuery, backbone.js, maybe not ECMAScript 3, but probably damn near close.

Ryan Florence 的头像
Ryan Florence1 年前

Vue, Svelte are "something like React" I didn't say you CAN'T 😂 I asked "how". There are so many little intricacies to a UI like this (in the context of the rest of the app where other things can happen during upload) that you'd easily screw up without something like React

Dev Agrawal 的头像
Dev Agrawal1 年前

most people using server frameworks are not building UIs like this

Ryan Florence 的头像
Ryan Florence1 年前

They won’t believe us, but that button also works without JavaScript

sergii 的头像
sergii1 年前

wait for 15 minutes and you’ll get 10 people telling you react is not needed and they can do all of it with vanilla js

gasa 的头像
gasa1 年前

I don’t know why these posts attract so much negativity. Just want to say that your work inspires me. Can’t fully imagine building smth so smooth for file upload yet. Waiting for the repo to learn. F js and react still

Ryan Florence 的头像
Ryan Florence1 年前

They attract negativity so I can get Xbux to pay for Christmas

Ryan Florence 的头像
Ryan Florence1 年前

mm hmm

相关视频