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
>>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"