18
b2plane
1y

I came acorss this website

https://joshwcomeau.com/

This is one of the FASTEST loading websites i have ever browsed. The interactivity is so smooth and seamless. No lags or stutters. Reloading the page takes under 0.1 seconds. The dude was so bored he even used click .mp3 sounds as you click or hover over links and buttons

This site is built in nextjs.

I keep seeing more and more nextjs sites. In job search i keep seeing nextjs requirements way more than before.

I cannot believe nextjs is this fast and powerful. It's not even hard to learn.

This motivates me to learn nextjs from a-z now

Comments
  • 2
    eh. on my phone the experience is not really next level.

    the hambuger menu stutters bad and loading times are fast but transitions bad. i think very few websites get transitions though as its quite limited

    ofcourse my phone isnt the best but a stuttering hamburger menu is not really what i get on other websites :/

    Okay edit: in brave and samsung internet it stutters but not in firefox. Guess its chrome based browsers fault

    im sure on a pc it feels smooth
  • 7
    The picture he uses looks like his eye hole skin covers peeled off and are hanging from the sockets. Like his eyelids are hanging below the eyes. I know they are supposed to be blush. But I cannot un-see the eyelids being flipped down.

    Neat website.
  • 3
    Josh is cool
  • 5
    Try this one: https://www.stroustrup.com/

    That's performance! I wish all sites are like that
  • 0
    @Nanos wow, didn't know anyone used it. It was a flash alternative right?
  • 0
    @Nanos I don't understand why they canceled flash either.. Amazing software
  • 0
    @Nanos use caddy. Just do:
    yourdomain.com {
    Reverse_proxy /* localhost:port
    }
    In config file. Restart server and you have https domain
  • 0
    @Nanos yes. Linux. But you could run caddy in docker on windows host I guess
  • 0
    @Nanos oh, I see caddy can run on windows! I advise it
  • 1
    @Nanos only as complicated as you make it out to be my friend. I myself find coding confusing, which is why I focus more on the server side stuff lol
  • 1
    loaded the site up on mobile internet. NGL first time it took over 5 secs to render.

    Refreshing the page takes about 0.2 secs to finish which is cool
  • 3
    It's a decent site. At least on desktop, I saw nothing wrong with it. Clean, loads and performs well... nothing Earth-shattering, but it's good.

    But, it's also a site that could have been built with plain old HTML/CSS/JS without any issue. There's no real reason to have used Next except as a showcase of what you know (which is fine if that was the idea). Nothing I'm immediately seeing would have been difficult to do from scratch, and that would have been a meaningful demonstration of ability too.

    As a general statement, I really wish more devs would not *immediately* jump to use this framework/library/toolkit/whatever or that for sites where it doesn't have clear benefit. Sometimes it no doubt is the right choice, but not all the time.
  • 0
    Stay away from Next/ Nuxt if at some point you:
    * will need to decouple back-end from front-end (eg a Node API and an Nginx-served static front-end)
    * will need to replace the front-end framework they are built on (= restart from scratch)
    * get confused when you look at code mixing front- and back-end logic (=SSR, I do)
    * care about using the least JS possible.

    FWIW nodejs.org site has been rebuilt with Nextjs (it's 4x as heavy and twice as slow as its predecessor, but who notices the difference between 5mb/0.5s -> 20mb/1s and it does pack more features tbh)

    In a few years the creators of these stacks will crash and burn out or move on to more creative ventures. They are young and full of energy and churn out entire tool stacks at an insane pace (see also "unjs") even releasing a major version live at a conference talk. But the layers of dependencies these stacks rely on will become a nightmare for maintainers & users soon enough.
  • 0
    It is quite fast. navigating to a new page on mobile is basically perceived as instant in my eyes. At first I thought it was just jumping to areas on the same page.

    NextJs is great and there's plenty of similar frameworks trying to figure out how to simply write a component once and move it to have it either render on the server or client. (I recently tried Deno just because of that framework called Fresh, to write an ssr page with a few clientside sorting features)
  • 1
    @webketje I’m using Nuxt with a nesjts backend. Besides it being shit by nature (it is js after all), it works fine. What is the issue? I need to clean it up often to stop it from becoming a 2847377 mbs site, but that happens with every node project.
  • 6
    It‘s amusing how actions without perceivable delay is seen as something mind blowing in the js web world.
  • 0
    IMHO using node.js and js framework is needless and meaningless, when it comes to a simple blog website, like Josh's. I can make that with simple html/css/vanilla js and php/asp.net for the back end. It doesn't even have a comment section!

    If you are making facebook/twitter clone, then js framework is a must. I can't imagine the headache of making them with vanilla js.
  • 1
    @Lensflare right?! let us be quite and observe though, I am fascinated.
  • 1
  • 1
    @jonas-w look at those shit sites. That doesnt count. They're ugly and unusable. I rated this example based on modern UI and simple UX which still loads super fast.

    I can make a blank canvas website for 0kb load speed and be in top 1.

    Look at elon musks site x.com. It literally just has x on it
  • 1
    @Nanos he bought x.com several years ago
  • 0
    @b2plane it has a big sentimal value for him. He's so sensitive. Aww
  • 0
    Josh also has some awesome articles there.

    One that was fun is when he explained the setup he had when he broke his arms or something, so he coded by voice for a while.
  • 1
    @Nanos no but he did talk about x.com a few times on twitter like 5-7 years ago, he said he's planning to build "the everything app" which will be hosted on x.com. Last year when he bought twitter he slightly mentioned "buying twitter will accelerate the process towards the everything app". He has never disclosed what the everything app is going to be
  • 0
    @ScribeOfGoD You can't code? Clown ass bitch ass punk. Criticizes others who can't code themselves without no evidence.
  • 0
    The latest article lags on scroll on mobile.
Add Comment