[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Stop using React

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 29
Thread images: 2

File: 499550.jpg (33KB, 460x460px) Image search: [Google]
499550.jpg
33KB, 460x460px
Stop using React
>>
>>62382966
>not just using preact
>>
>>62382989
Stop using Preact
>>
>>62384927
>not just using Vue.js
>>
>>62382966
ok, OP :( What should I use instead? Do everything in vanilla JS?
>>
>>62382966
>PATENTS.TXT
>>
>>62385002
HTML+ CSS (aka bootstrap) + JS + vue.js

No frameworks, no build tools, no fagatronic JS varients that need to be "transpiled". No fuckery basically.
>>
>>62385002
No true web developer uses anything but vanilla JS, faggot
>>
>>62387891
things that never happen
>>
>>62387744
can you still use .vue files this way or do you need webpack?
>>
>>62387891
Pajeet my son, you must choose between elegant well architectured code with pure JS behavior, or hacky DOM manipulation with 100000 LOC.
>>
>>62382966
> using a library
> 2017
> svelte exists
>>
File: marko.png (102KB, 800x552px) Image search: [Google]
marko.png
102KB, 800x552px
>>62382966
Stop using Vue
>>
>>62388152
who use hundreds of page rendering per second? Vue performance is very impressive for SSR, if 600 op/s is not enough for you, use multiple node servers
>>
>>62388152
>React
>server side rendering

wat?
>>
>>62387744
>vue.js
>No frameworks

the fuck?
>>
>>62390504
You render the page with React on a nodejs server and then return the rendered HTML in the HTTP Response.
>>
>>62390989
Who does that though?

That's like buying a luxury car for the radio.
>>
>>62391081
People do it for improved SEO (rendering the website in the browser is a bad for SEO) and improved performance (though this is controversial)
>>
>>62391081
Twitter does that because SPA loading times increase bounces. Far quicker on the user side is to render the initial state server side.
>>
Start using Angular 2+
>>
>>62391220
I'm not against server side rendering itself.
But the while point of React is to make interactive sites and single page applications.

>>62391229
Ah, so its just the initial state - it's still interactive after that?
>>
>>62388006
Enjoy your static pages or absolutely shit cross browser compatibility. The absolute state of web dev is you need those shitty megabyte sized libraries to actually get shit done.
>>
>>62391392
Yes it's still interactive, it's just used for the initial page load so the user doesn't see any loading indication
>>
>>62391324
This right here.
Angular 4 is the way web development should be.
>>
>>62391392

> Ah, so its just the initial state - it's still interactive after that?


All app components' methods and hooks before mounting are executed, so initial rendering can be done, after that rendering depends on user interaction
>>
>>62391533
>typescript
>>
>>62392422
When the codebase is big enough you'll be grateful for those type annotations.
>>
>>62392422
>HURPADERPA I LOVE WRITING SLOPPY SHIT
you'll turn to typescript when you stop building babbies first weather "app"
Thread posts: 29
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.