How To Set Up Next.js 15 For Production In 2024

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 25

  • @Myhic-lt4xy
    @Myhic-lt4xy 23 дня назад +2

    This is a rare channel, and I love the atmosphere your in.

    • @JanHesters
      @JanHesters  19 дней назад +1

      Appreciate it!
      I like shooting outside because we are inside enough as developers haha

  • @dreamsachiever212
    @dreamsachiever212 21 день назад +1

    You gotta love YT algorithm. Spent 3 days setting up a monorepo using turborepo, hell of a pain... Could you create a similar video on setting up for production for a monorepo?

    • @JanHesters
      @JanHesters  19 дней назад +2

      Absolutely! But it will take a few months, I have a bunch of other topics planned first.
      Thank you for the compliment and the suggestion! 🙏

  • @markschneidermann
    @markschneidermann 23 дня назад +2

    dope style & crazy gold nuggets bro !

    • @JanHesters
      @JanHesters  19 дней назад

      I have the privilege of working with the best when it comes to style 😉 Thanks!

  • @alvierime
    @alvierime 15 дней назад +2

    Internationalization needs a dedicated tutorial

  • @Pushpaje2130
    @Pushpaje2130 20 дней назад +2

    Amazing video ❤

  • @mehmethanifierenler3612
    @mehmethanifierenler3612 23 дня назад +1

    very very thanks

  • @mattymattffs
    @mattymattffs 20 дней назад +2

    Question, are the terrible shirts a requirement too?

    • @JanHesters
      @JanHesters  19 дней назад +2

      Right into the feels! 💔😄 Wear whatever you want 😉

  • @chad_giga6934
    @chad_giga6934 9 дней назад +2

    Programming Andrew Tate, lol no hate here bro.
    I just find your approach interesting, something that is not common in this space

    • @JanHesters
      @JanHesters  2 дня назад

      Thank you! I wanted to try something new haha! 🙏

  • @jamescbender43081
    @jamescbender43081 10 дней назад +1

    I hate Husky, and we don't allow it in our shop. It just creates more friction, and you can do everything Husky does as part of your pipeline when someone sends a PR.

    • @devyb-cc
      @devyb-cc 8 дней назад

      i use webstorm, i see no reason to use husky 😅

    • @jamescbender43081
      @jamescbender43081 8 дней назад +1

      @@devyb-cc I've never used WebStorm, so I don't know how they compare, but I HATE the idea of Git pre-commit hooks in general.

    • @devyb-cc
      @devyb-cc 8 дней назад

      @@jamescbender43081 well, jetbrains products all have something like hook. i usually do it only to analyze my code, in case i left some TODOs or unused imports.

    • @JanHesters
      @JanHesters  2 дня назад

      Interesting!
      How do you do it? Do you just run linting and type checks in CI/CD and let people push even with linting or type errors?

    • @jamescbender43081
      @jamescbender43081 2 дня назад

      @@JanHesters Yeah, we let developers send PRs up with linting errors. Before anyone even reviews it, it will run through the CI/CD pipeline, so linting, and all tests (unit, E2E, etc.) get run automatically and have to pass before the PR can be approved, no matter how many votes it gets. We do this for a few reasons. First, I want all the long-running/resource-intensive steps to run on the server so they can run faster without blocking the developer from working on something else. This also ensures that the branch will integrate with the existing branch. The other big reason, and why we stay away from pre-commit hooks (like Husky) is that I want my developers to be able to commit (locally) frequenty, even if these commits are "work in process" commits, aka "I want to commit what I have so that if the next thing I try to do totally f's things up, I can go back to the last commit." and making them conform to a bunch of rules designed to protect the main branch causes a lot of friction, and discourages these kinds of commits. As log as the "last" commit that's part of the PR conforms to the rules, as enforced by the pipeline, I don't care what the previous commits in that PR do.

  • @peepoclown5838
    @peepoclown5838 18 дней назад +2

    This video gave me a headache...