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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 49

  • @codeSTACKr
    @codeSTACKr  2 หลายเดือนก่อน +3

    🦸 Become A VS Code SuperHero Today: vsCodeHero.com

  • @codernerd7076
    @codernerd7076 2 หลายเดือนก่อน +48

    I went further and forgot Deno even existed :)

    • @codeSTACKr
      @codeSTACKr  2 หลายเดือนก่อน +5

      😂😂😂

    • @NikKita-f8i
      @NikKita-f8i 2 หลายเดือนก่อน +3

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

    • @codernerd7076
      @codernerd7076 2 หลายเดือนก่อน +1

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

    • @NikKita-f8i
      @NikKita-f8i 2 หลายเดือนก่อน +1

      @@codernerd7076 Im sorry)

  • @eukatastrophe
    @eukatastrophe 2 หลายเดือนก่อน +2

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

  • @skiesaboveunlimitedstargaz7316
    @skiesaboveunlimitedstargaz7316 2 หลายเดือนก่อน +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! 👍

  • @Salah-YT
    @Salah-YT 2 หลายเดือนก่อน +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 🙌

  • @ahmad-murery
    @ahmad-murery 2 หลายเดือนก่อน +8

    Deno has it all.
    Thanks Jesse!

    • @codeSTACKr
      @codeSTACKr  2 หลายเดือนก่อน +1

      Thanks for watching!

  • @vishalsinghpanwar2972
    @vishalsinghpanwar2972 2 หลายเดือนก่อน +2

    Love this, thanks for the effort Jesse ❤

    • @codeSTACKr
      @codeSTACKr  2 หลายเดือนก่อน

      Thanks!

  • @Ipadstands
    @Ipadstands หลายเดือนก่อน +1

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

  • @benjaminchoi1455
    @benjaminchoi1455 2 หลายเดือนก่อน +6

    Do you know how to deno run nestjs?

    • @NikKita-f8i
      @NikKita-f8i 2 หลายเดือนก่อน +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 :)

  • @the_beckers_food
    @the_beckers_food 2 หลายเดือนก่อน +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 หลายเดือนก่อน +2

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

    • @the_beckers_food
      @the_beckers_food 2 หลายเดือนก่อน +1

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

  • @mylastore
    @mylastore 27 วันที่ผ่านมา

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

  • @eddiejaoude
    @eddiejaoude 2 หลายเดือนก่อน

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

  • @mzhomie8880
    @mzhomie8880 หลายเดือนก่อน

    Deno 2.0 ❤

  • @zyncc
    @zyncc 2 หลายเดือนก่อน +2

    How does bun compare to deno 2

  • @ivlis.w
    @ivlis.w หลายเดือนก่อน +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  หลายเดือนก่อน

      @@ivlis.wagreed. thanks for the feedback.

  • @GrainStar
    @GrainStar หลายเดือนก่อน

    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 2 หลายเดือนก่อน +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

  • @fabrizio.dipietro
    @fabrizio.dipietro 2 หลายเดือนก่อน +4

    Playright it's work?

    • @codeSTACKr
      @codeSTACKr  2 หลายเดือนก่อน +2

      Yes!

  • @umitcelik5508
    @umitcelik5508 2 หลายเดือนก่อน

    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!

  • @labinocle5736
    @labinocle5736 2 หลายเดือนก่อน +1

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

  • @yevsell
    @yevsell 2 หลายเดือนก่อน +1

    Thanks really cool

    • @codeSTACKr
      @codeSTACKr  2 หลายเดือนก่อน

      You're welcome!

  • @Hakanxyz
    @Hakanxyz 2 หลายเดือนก่อน +2

    New subscriber here 😊

    • @codeSTACKr
      @codeSTACKr  2 หลายเดือนก่อน

      Thank you!

  • @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.

    • @hero3616
      @hero3616 2 วันที่ผ่านมา

      Don’t use it then

    • @mihaelisaev
      @mihaelisaev 2 วันที่ผ่านมา

      @@hero3616 that's exactlly what I do

  • @tabdig
    @tabdig 2 หลายเดือนก่อน +4

    deno is cool, but i found bun much better.

  • @MrEnsiferum77
    @MrEnsiferum77 2 หลายเดือนก่อน

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