Forget Everything you Thought you Knew about Deno | Deno 2 0 Crash Course

Поділитися
Вставка
  • Опубліковано 9 лют 2025

КОМЕНТАРІ • 53

  • @codeSTACKr
    @codeSTACKr  4 місяці тому +3

    🦸 Become A VS Code SuperHero Today: vsCodeHero.com

  • @codernerd7076
    @codernerd7076 4 місяці тому +55

    I went further and forgot Deno even existed :)

    • @codeSTACKr
      @codeSTACKr  4 місяці тому +5

      😂😂😂

    • @NikKita-f8i
      @NikKita-f8i 3 місяці тому +3

      and we also went further and forgot about you even commented:)

    • @codernerd7076
      @codernerd7076 3 місяці тому +1

      @@NikKita-f8i lol, it was just a joke, Deno 2.0 looks really interesting!

    • @NikKita-f8i
      @NikKita-f8i 3 місяці тому +1

      @@codernerd7076 Im sorry)

  • @Salah-YT
    @Salah-YT 3 місяці тому +3

    Thanks a lot for the fantastic explanation! I've watched the entire thing and I'm really into Deno 2.0. I'll definitely be rewatching it and following you to enhance my understanding. Thank you so much!

    • @codeSTACKr
      @codeSTACKr  3 місяці тому +1

      Thanks! Glad it helped 🙌

  • @skiesaboveunlimitedstargaz7316
    @skiesaboveunlimitedstargaz7316 4 місяці тому +4

    This is a good video! 👍 I just realized after using Deno for many months and creating APIs, I just noticed you really do not need a flag to "allow all to yes", and it makes sense because when you launch or publish your Web App.. You really not need to access filesystem to write because you just let the API do its process to do the CRUD into a database. This does makes sense and expect it to be a READ-ONLY... This prevents API access your critical filesystem...
    There is a lot of NPM that has major access to filesystem and there is no certain control to block those interfering the filesystem and there are many ways to bypass it that is the reason why NodeJS always require to keep on updating to latest version for security vulnerabilities... Security should be the first priority! 👍

  • @josephjoestar4318
    @josephjoestar4318 8 днів тому

    Thanks for this video. I like to read the documents and watch videos as reinforcement. You explained some things that I didn't quite get from the docs 👍

  • @ahmad-murery
    @ahmad-murery 4 місяці тому +8

    Deno has it all.
    Thanks Jesse!

    • @codeSTACKr
      @codeSTACKr  4 місяці тому +1

      Thanks for watching!

  • @eukatastrophe
    @eukatastrophe 4 місяці тому +2

    handleRequest method at t 19:00 must be async to work with Promise return type.

  • @vishalsinghpanwar2972
    @vishalsinghpanwar2972 4 місяці тому +2

    Love this, thanks for the effort Jesse ❤

  • @Ipadstands
    @Ipadstands 3 місяці тому +1

    I stayed up late to watch this. So it must be done well for me to lose sleep over !! Thanks

  • @eddiejaoude
    @eddiejaoude 4 місяці тому

    Great video! Thanks for sharing your experience with Deno, i need to give it a try

  • @benjaminchoi1455
    @benjaminchoi1455 4 місяці тому +6

    Do you know how to deno run nestjs?

    • @NikKita-f8i
      @NikKita-f8i 3 місяці тому +1

      I've already try it (by the way with HonoAdapter instead of Express)... it works! (Im only waiting when the upgrade deno version on their deno deploy to start hosting my nestjs app here)

    • @OswealdYeshua
      @OswealdYeshua 3 місяці тому

      @@NikKita-f8i great I want to see Hono is interesting... I want to get star in backend and I am trying to avoid Node lol but I am digging deep, I'd always holpind Deno bring something modern like AstroJS did /gt version 2 seems great, Bun is nice to use with packet manager lol I am using instead PNPM in all astro projects right now :). Bun seems nice but I have seen some bugs in simple installations with Astro with me trying to build with AHA Stack with Bun instead Node, But Astro was built in Node, I'd want an Astro version built with Deno \o/ it would be all kind of project simple medium and enterprise level easy to acomplish by Layers ... When you make some discoveries I will be happy to see about your experiences all right? I wish you good luck I'll back here too :)

  • @illuminach8279
    @illuminach8279 Місяць тому +1

    great crash course

    • @codeSTACKr
      @codeSTACKr  Місяць тому +1

      @@illuminach8279 thanks!

  • @GrainStar
    @GrainStar 3 місяці тому

    The “NPM” package is not installed.
    Building NextJS results in Error: 'npm' is not recognized as an internal or external command, operable program or batch file.
    Do I need to install NPM?

  • @zyncc
    @zyncc 4 місяці тому +2

    How does bun compare to deno 2

  • @the_beckers_food
    @the_beckers_food 3 місяці тому +2

    Can you use Deno for micro services? I am trying to decide between Java or Deno for a POS app using micro service. What would you recommend?

    • @codeSTACKr
      @codeSTACKr  3 місяці тому +2

      Yes! But I’m not a java dev so I would choose Deno 😅

    • @the_beckers_food
      @the_beckers_food 3 місяці тому +1

      @@codeSTACKr😅I think I will use Deno ! You convinced me!

  • @mylastore
    @mylastore 2 місяці тому

    FYI - To install Deno 2 with brew - brew update and brew install deno

  • @mzhomie8880
    @mzhomie8880 3 місяці тому

    Deno 2.0 ❤

  • @ivlis.w
    @ivlis.w 3 місяці тому +3

    It's incompatibility with Node was it's biggest mistake and what left the window open for yet another runtime we could actually use without setup
    I guess it still was kinda necessary to reach the point we are now
    I'm pretty happy of it's current state and starting to use it, although at times it was still a bit confusing coming from Node

    • @codeSTACKr
      @codeSTACKr  3 місяці тому

      @@ivlis.wagreed. thanks for the feedback.

  • @labinocle5736
    @labinocle5736 4 місяці тому +1

    Did i have to learn node.js to understand well deno ?

  • @fabrizio.dipietro
    @fabrizio.dipietro 4 місяці тому +4

    Playright it's work?

  • @yevsell
    @yevsell 4 місяці тому +1

    Thanks really cool

  • @umitcelik5508
    @umitcelik5508 4 місяці тому

    I wonder that deno how can effect react native/expo stack, too

    • @grimm_gen
      @grimm_gen 3 місяці тому

      Not much for now because Expo runs on Babel and Metro, which are entirely different technologies. If you want something close to Deno on mobile devices, checkout One. It's a (you guessed it) new React framework that leverages 'vxrn' (vite x react native) to build cross platform react apps running on vite.
      One is still in Beta but I've been playing with it and got Deno 2 to work with it!

  • @eukatastrophe
    @eukatastrophe 4 місяці тому +1

    Deno with npm:nextjs install requires NPM to be installed! Ugh, what a bug!
    And the custom `page.tsx` example in the final demo that hits `/api/hello` needs `"use client";` statement at the top for nextjs.

    • @grimm_gen
      @grimm_gen 3 місяці тому +1

      Because the issue here is not with Deno but with nextjs being a nodejs project, maybe at some point we will have a fully Deno First react framework

  • @Hakanxyz
    @Hakanxyz 4 місяці тому +2

    New subscriber here 😊

  • @mihaelisaev
    @mihaelisaev 3 місяці тому

    But it even can't import local npm package. Wasted my time.

    • @codeSTACKr
      @codeSTACKr  3 місяці тому

      You absolutely can. You can use any existing node app with a node_modules folder and it will now work with Deno.

    • @mihaelisaev
      @mihaelisaev 3 місяці тому

      @@codeSTACKr Nope, it has no ability to work with local npm packages.

    • @hero3616
      @hero3616 Місяць тому

      Don’t use it then

    • @mihaelisaev
      @mihaelisaev Місяць тому

      @@hero3616 that's exactlly what I do

  • @tabdig
    @tabdig 4 місяці тому +4

    deno is cool, but i found bun much better.

  • @kunigundek.7571
    @kunigundek.7571 11 днів тому

    The Germany hate the actualy politics! More Germany!

  • @MrEnsiferum77
    @MrEnsiferum77 4 місяці тому

    'Game Changer', even c is not game changer compare to assembly, please stop this crap. I'm interested how close to slownest is to bun or go.