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

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 48

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

    🦸 Become A VS Code SuperHero Today: vsCodeHero.com

  • @codernerd7076
    @codernerd7076 Місяць тому +48

    I went further and forgot Deno even existed :)

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

      😂😂😂

    • @NikKita-f8i
      @NikKita-f8i Місяць тому +2

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

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

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

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

      @@codernerd7076 Im sorry)

  • @skiesaboveunlimitedstargaz7316
    @skiesaboveunlimitedstargaz7316 Місяць тому +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! 👍

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

    Deno has it all.
    Thanks Jesse!

  • @Salah-YT
    @Salah-YT Місяць тому +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  Місяць тому +1

      Thanks! Glad it helped 🙌

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

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

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

    Love this, thanks for the effort Jesse ❤

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

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

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

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

  • @mylastore
    @mylastore 5 днів тому

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

  • @mzhomie8880
    @mzhomie8880 27 днів тому

    Deno 2.0 ❤

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

    Do you know how to deno run nestjs?

    • @NikKita-f8i
      @NikKita-f8i Місяць тому +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 Місяць тому

      @@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 :)

  • @ivlis.w8630
    @ivlis.w8630 Місяць тому +2

    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  Місяць тому

      @@ivlis.w8630agreed. thanks for the feedback.

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

    How does bun compare to deno 2

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

    Great!

  • @the_beckers_food
    @the_beckers_food Місяць тому +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  Місяць тому +2

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

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

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

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

    Playright it's work?

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

    Thanks really cool

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

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

  • @GrainStar
    @GrainStar 23 дні тому

    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?

  • @eukatastrophe
    @eukatastrophe Місяць тому +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 Місяць тому +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 Місяць тому +2

    New subscriber here 😊

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

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

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

      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!

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

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

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

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

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

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

  • @tabdig
    @tabdig Місяць тому +3

    deno is cool, but i found bun much better.

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

    '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.