How to use React with Django (in 10 mins) ⚛️

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

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

  • @almerstaal351
    @almerstaal351 3 месяца назад +1

    Most underrated Django channel!

    • @tomdekan
      @tomdekan  3 месяца назад

      Appreciate you saying that 🙂

  • @dashing7569
    @dashing7569 4 месяца назад +4

    nicely done... definitely add user authentication and basic profile to this app and you have a full use case... maybe some static pages as well and how about page transitions? ;)

    • @tomdekan
      @tomdekan  4 месяца назад +1

      Thanks Rob - great suggestions!

  • @Kathmandu-nv7dd
    @Kathmandu-nv7dd 2 месяца назад +1

    I would definately love to see how it can be deployed .Thanks

    • @tomdekan
      @tomdekan  Месяц назад +1

      Thanks for that. Noted!

  • @zidayouzi
    @zidayouzi 2 месяца назад +2

    Thank you ! I'm looking forward to your updated part 2 , including how to deploy both to production , add authentication 🙂

    • @tomdekan
      @tomdekan  2 месяца назад

      You're welcome. I've just posted the written guide here (including auth, but not yet production): www.photondesigner.com/articles/react-auth . Video coming soon 🙂

  • @nelsonberm3910
    @nelsonberm3910 2 месяца назад +1

    great tutorial would love to see the second part. If anyone is getting an error """ Import "django.db" could not be resolved from sourcePylancereportMissingModuleSource
    (module) django """ Then the problem is that you have to create your virtual enviornment before deploying django, you would need to do
    python -m venv venv
    source venv/bin/activate
    in the terminal and then the deployment part

    • @tomdekan
      @tomdekan  2 месяца назад

      Thanks Nelson! I've just posted the written guide here for part 2 (including auth): www.photondesigner.com/articles/react-auth . Video coming soon 🙂

  • @MAhmad-tg
    @MAhmad-tg 2 месяца назад +1

    Your channel man, is a hidden gem! Keep up the great work!

    • @tomdekan
      @tomdekan  2 месяца назад

      Thanks 🙂 Will do!

  • @zidayouzi
    @zidayouzi 2 месяца назад +1

    nicely done! thank you! I'm looking forward to your updated part 2 , including how to deploy both to production ,add authentication。

    • @tomdekan
      @tomdekan  2 месяца назад

      Coming soon!

    • @its-cess
      @its-cess 2 месяца назад +1

      ​@@tomdekan I'd also love to see part 2!

    • @tomdekan
      @tomdekan  2 месяца назад +1

      ​@@its-cess Thanks Cess! The written guide for part 2 is here: www.photondesigner.com/articles/react-auth
      I plan to release the video in the next week or so.

  • @caglargulucan
    @caglargulucan 4 месяца назад +1

    Where do you see the future I wonder? Vue-Nuxt? React-Next?

    • @tomdekan
      @tomdekan  4 месяца назад +2

      Thanks for your question :)
      RE Vue-Nuxt v React-Next, I view the pattern as:
      - React-Next add new features much faster (backed by Vercel) and then
      - the Vue-Nuxt team implements the same features 6 months later, but in a better way.
      Though React-Next retains its advantage in having many more great libraries due to a much larger community.
      Looking forward, I’d start a new product with pure Django, and then probably switch to Nuxt+Django.
      But I think all these technologies are great. The most important thing is to build things that people want

  • @Магомед-о1ю
    @Магомед-о1ю 2 месяца назад

    Thank you! I've been looking for something like this for a very long time, only this video helped

    • @tomdekan
      @tomdekan  2 месяца назад +1

      Glad I could help! I'm also planning to make a React + Django video showing how to add auth. Let me know if that's interesting :)

  • @igribeiro_
    @igribeiro_ 4 месяца назад +1

    My only dificulty its with authenticate views.

    • @tomdekan
      @tomdekan  3 месяца назад +2

      Thanks for that. I may add a video on that shortly 🙂

    • @navaneeth9103
      @navaneeth9103 3 месяца назад +1

      @@tomdekan very much needed, please do an auth , middleware video with DRF and react

    • @tomdekan
      @tomdekan  3 месяца назад +1

      Thanks for that - it’s now on my list of possible videos 🙂

  • @navaneeth9103
    @navaneeth9103 3 месяца назад

    nicely done . will u be able to do ia video on django react auth with jwt tokens/ sessions with social authetication included . also axios interceptors or something to refresh tokens.
    there is only few tutorials on u tube and most of them are very outdated or simply not production grade

    • @tomdekan
      @tomdekan  3 месяца назад +1

      Thanks for the suggestion Navaneeth! I'm currently finishing off a Vue auth video; a React auth video might also be good to do 🙂

    • @navaneeth9103
      @navaneeth9103 3 месяца назад +1

      @@tomdekan it will be really helpful if u could. I still haven't found any proper solution 🙂

    • @tomdekan
      @tomdekan  3 месяца назад

      Got it Navaneeth. React + Auth is now on my list :)

    • @navaneeth9103
      @navaneeth9103 3 месяца назад +1

    • @tomdekan
      @tomdekan  Месяц назад

      And now released. Check out my second last video.