Remix React Fullstack Tutorial | Crash Course

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

КОМЕНТАРІ • 132

  • @mariusespejo
    @mariusespejo  Рік тому +3

    Hi everyone! Unfortunately the ghibli API that we use in this tutorial is no longer hosted for free on heroku (since they started charging) and has been taken down. I’ll link the repo here if you want to spin it up yourself. Otherwise hope you still learn a lot from this video. I’ll make another example app at another time 🙂
    github.com/janaipakos/ghibliapi

  • @pookiepats
    @pookiepats Рік тому +2

    The routing system was not clicking for me until i saw your video, even the official reps did not do as good a job as you did here so kudos to you sir! 32 minutes in and my brain is full for now lol I'll be back - thank you again!

    • @mariusespejo
      @mariusespejo  Рік тому +1

      Glad to hear! Yeah docs could use some improvement lol

  • @laurafurby8290
    @laurafurby8290 2 роки тому +9

    Def contact the remix team, this is one of the best promotion tutorials for them, guaranteed :D

    • @mariusespejo
      @mariusespejo  2 роки тому

      Haha thank you 😄

    • @yin6542
      @yin6542 2 роки тому +4

      @@mariusespejo for real, other youtubers all did the jokes demo project that remix made them selves and im sure that its a great tutorial but its kinda lame and overdone. This is a far more interesting cause you came with a new project. You also explained everything very well showing many of the features and strengths of the framework, the Remix team is lucky with to have you putting this out there.

  • @mariners_platter
    @mariners_platter 2 роки тому +3

    Remix team should add this video to a resources or tutorials section in the official Docs!😀

  • @johannesmogashoa1320
    @johannesmogashoa1320 2 роки тому +16

    Awesome tutorial man. This just made me realize how incredible and powerful Remix can get. Will look to try it for my own projects. Thanks a million man. Perhaps have another tutorial explaining how to leverage it's server capabilities i.e. db, models, middlewares etc. Thank you sooo much man

    • @mariusespejo
      @mariusespejo  2 роки тому

      Thanks! Glad you like it, definitely hoping to post more about it as I learn more myself

  • @wsxokm5
    @wsxokm5 2 роки тому +3

    This is honestly the MOST informational video (period). So much great information and was really helpful as one of the first Remix videos I found. Keep up the good work @Marius!

    • @mariusespejo
      @mariusespejo  2 роки тому

      Thanks for stopping by to comment Evan! Remix is super cool, hoping to learn more

  • @mohwagdy6781
    @mohwagdy6781 2 роки тому +4

    Really nice job, you saved me a lot of time learning remix from docs.

    • @mariusespejo
      @mariusespejo  2 роки тому

      Thanks, the docs could be organized better honestly, hoping it improves over time

  • @lofi_Insomnia_
    @lofi_Insomnia_ Рік тому

    I'm using this tutorial to learn Remix. Trying it out for my first web3 project.

  • @zawriter4783
    @zawriter4783 2 роки тому +2

    Hey bro, it has been 3 weeks without new videos :(
    Please keep us updated. Your content is the best tbh . You dont know the happiness I get when I get notification that you released new material :)

    • @mariusespejo
      @mariusespejo  2 роки тому +2

      I appreciate you looking for my posts! I am actually recording today. In general though I only really do this on spare time and don’t have a set schedule yet, but I am looking to produce more consistently

  • @mikloscsepella2743
    @mikloscsepella2743 2 роки тому +1

    thank you for making it easy for me to understand some of the aspects of Remix that was difficult to wrap my head around before (e.g. nested layout routes).

  • @afaque.
    @afaque. 2 роки тому +1

    and it transitioned into tailwindcss tutorial which I liked

  • @techjavaid6177
    @techjavaid6177 2 роки тому +2

    Subscribed...please continue teaching things like this one... you're incredible..so easy to digest things 💗
    Shared it on twitter with official remix and creators 😍

  • @Gonzalo-vo6vw
    @Gonzalo-vo6vw 2 роки тому +1

    Great crash course, I would love to see a full length tutorial on remix, since its 'new' now that it's free more and more devs will use it.

  • @javajoint
    @javajoint 2 роки тому

    great Remix tutorial - pacing, vibe, timestamps + code repo.. well done!

  • @byronpantoja6959
    @byronpantoja6959 2 роки тому

    Thank you Marius!!! This is perfect -- pacing, info, focus, results -- super digestible but also practical. Taking this and taking off 🌌🛸🙏. Cheers!

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      Thank you so much for feedback, glad you like it!!

  • @cntitv988
    @cntitv988 2 роки тому

    Thank you so much for this tutorial, i really dedicated some time to watch, learn and practice. thanks

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      You're very welcome! Remix is fantastic, I'm excited to learn more myself

  • @iRaionSama
    @iRaionSama 2 роки тому

    Thank you so much for this tutorial ! Can't w8 to try it out myself.

  • @Nageswararao93
    @Nageswararao93 2 роки тому

    Thank you sooo much for your great explanation Marius

    • @Nageswararao93
      @Nageswararao93 2 роки тому

      Can you please do a video on pagination with filters?

    • @mariusespejo
      @mariusespejo  2 роки тому

      I’ll try when I get a chance but if you think about it, page and filters are really just params to your api request, the same way that the search term is. Meaning you just need to update the url params with those values.. now how you actually filter and paginate server side, once your loader gets that quest, depends on your database solution

  • @leetkhan
    @leetkhan 2 роки тому

    Awesome! Thank you for great video.

  • @damiangilz
    @damiangilz 2 роки тому

    Keep it on going, bro!

  • @htetwaiyanaung6099
    @htetwaiyanaung6099 2 роки тому

    thank you so much bro.

  • @nat.serrano
    @nat.serrano Рік тому

    I was taking a training on NextJS but I found it really boring (not sure if it was the framework or the teacher) and I found this gem and now I'm a Remix fanboy, thanks to the wonderful teaching skills of mr Espejo

    • @mariusespejo
      @mariusespejo  Рік тому +1

      Next is actually also introducing a lot of the same features as remix so it’ll be interesting to compare the two in the future

    • @tlourammala22
      @tlourammala22 Рік тому

      @@mariusespejo Looking forward to this!

    • @mariusespejo
      @mariusespejo  Рік тому +1

      I did actually recently make a video comparison between next 13’s new nested layouts! Although more things could probably be compared

    • @tlourammala22
      @tlourammala22 Рік тому

      @@mariusespejo I Loved it! Thank man for your contribution to the dev community.

  • @fjdeveloper
    @fjdeveloper 2 роки тому

    thanks for your video

  • @younglion0451
    @younglion0451 2 роки тому

    Thank you so much for this!!

  • @zawriter4783
    @zawriter4783 2 роки тому +4

    Awesome, thanks!
    Can you make Svelte and react-native tutorials?

  • @oyinlolaolasunkanmi
    @oyinlolaolasunkanmi Рік тому +1

    Thanks for this. BTW what theme do you use ?

  • @kevin73911
    @kevin73911 2 роки тому

    Really like your tutorial, thank you. ;)

  • @greatdata6047
    @greatdata6047 2 роки тому +1

    thank you Marius because of your explanations , can you make a video about how to implement access token and refresh token with JWT?

    • @mariusespejo
      @mariusespejo  2 роки тому

      Yeah auth with remix is something I’d like to explore, definitely

  • @eulucaspedroabreu
    @eulucaspedroabreu 2 роки тому +1

    One of the best tutorials I've ever seen. Thank you very much!!
    I'd like to take a chance to ask you something:
    If I Have some layout on my root.tsx (e.g. Header), that I placed there so my app/index.tsx would have this header and all their siblings.
    But if I want some Route to not have this Header?
    Since app/index.tsx could not use to render the header to the siblings,
    how can I opt out of the Header on a route without having to remove Header from root.tsx and render Header on each first level route?

    • @mariusespejo
      @mariusespejo  2 роки тому

      Well I assume you could determine from the url if the header should be shown or not? In that case you could maybe create an exception list which prevents the header from being rendered while still being in layout for all descendants. Alternatively you could utilize “flat files” with the “.” in the filename, which is typically how you’d prevent a route from being wrapped by a layout route, although not sure if you can do that with the root

  • @deraidos45
    @deraidos45 Рік тому

    Nice video!. Are you going to try out Remix v2 pre-release? They just announced it on 29th August

    • @mariusespejo
      @mariusespejo  Рік тому

      I haven’t had a chance to look into it, thanks for the reminder!

  • @farhanhaider5652
    @farhanhaider5652 2 роки тому

    🔥

  • @namesare4fools
    @namesare4fools 2 роки тому

    U deserve more subs man

    • @mariusespejo
      @mariusespejo  2 роки тому

      Thanks! Well I hope more subs over time but I’m happy with the growth so far

    • @namesare4fools
      @namesare4fools 2 роки тому

      @@mariusespejo I'm rooting for you, if you made a tutorial comparing Next with Remix that would be lit !

  • @jemjem8902
    @jemjem8902 Рік тому

    Hey man I love your tutorial. What is your theme in vscode?

  • @arrdee8558
    @arrdee8558 2 роки тому +1

    Hey Marius. Great video as per usual! Do you have a discord channel or any other means to connect with you or members of the community? I'd like to have a platform where I could ask questions that I get after watching your vids. Cheers!

    • @mariusespejo
      @mariusespejo  2 роки тому +2

      Thanks! I don’t currently but a couple folks have asked, I’ll think about it. Feel free to post questions in the comments here for now though, I try my best to respond

    • @arrdee8558
      @arrdee8558 2 роки тому +1

      Great! Do you respond to comments on your older vids? If yes, I'll go ahead and comment there. I have some questions with regards to Nestjs Interceptors and how they're supposed to be used. Thanks!

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      Yeah absolutely! I get notified on comments for all videos

  • @machothemaan
    @machothemaan 2 роки тому

    Great tutorial! - What font are you using in vscode?

    • @mariusespejo
      @mariusespejo  2 роки тому

      Thanks! I’m not sure if I used it in this video but currently I use Cascadia Mono, it’s free!

  • @corewwwi
    @corewwwi 2 роки тому

    Thanks for this truly amazing crash course!!
    I have a question: do I need to know react js already to use it?

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      Ideally yes, it is a framework for React. I would suggest learning react fundamentals first, have a good understanding of components, hooks, jsx, state and props, at minimum

  • @sachnoimienphi
    @sachnoimienphi Рік тому

    Hi, what is your theme in vs code, it's beautiful :D

  • @zulfiqar7967
    @zulfiqar7967 2 роки тому

    I learned React Js , now what's next ??
    Remix or Next js ?

    • @mariusespejo
      @mariusespejo  2 роки тому

      I suggest sticking with just react until you have enough experience. If you’re building production apps at work, for most people at the moment next is probably the choice, it’s mature and well documented. Remix is definitely great but it’s still very young

  • @Phanboy
    @Phanboy 2 роки тому

    Nice tutorial! Still learning new things about vscode. Can you share the autocomplete extensions you use to import, etc?

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      You don’t need extensions for that, Vs code does that on its own. Although it works best when you’re writing in TS

    • @Phanboy
      @Phanboy 2 роки тому

      @@mariusespejo awesome ty!! 😎 👍

  • @mesparzajr
    @mesparzajr 2 роки тому

    Hi Marius what country you live? Thanks for your awesome work 🙌🏼🔥

    • @mariusespejo
      @mariusespejo  2 роки тому

      Hi there! I’m am currently in the US, how about you?? 😄

    • @mesparzajr
      @mesparzajr 2 роки тому

      @@mariusespejo nice same here Texas 🤠

  • @ankitmehrotra8519
    @ankitmehrotra8519 2 роки тому

    Hi Marius. The whole DOM is re-painted on the search. I suppose when only the Films components is wrapped in a layout component , will ensure the whole DOM is not re-painted on every search.Right?

    • @mariusespejo
      @mariusespejo  2 роки тому

      not sure that it necessarily repaints the whole DOM… remember we’re still using react on the client side whose job is to optimize that sort of thing on top of remix’s own optimizations

  • @lord4791
    @lord4791 2 роки тому

    Can you please consider doing some react testing tutorials?

  • @MahbuburRahman-uc7np
    @MahbuburRahman-uc7np 2 роки тому

    I really like your VsCode theme. Can you share what theme or settings you are using?

    • @mariusespejo
      @mariusespejo  2 роки тому

      It’s one of the night owl variations, I think night owl dark/black

  • @squarehat
    @squarehat 2 роки тому

    What extension added the 'red' square next to text-red-500 tailwind class?

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      If you search for tailwind in the extensions it should be the first and most popular one

  • @anuj7286
    @anuj7286 2 роки тому

    Sir how to fetch multiple APIs URLs in the loader function on a single page?

    • @mariusespejo
      @mariusespejo  2 роки тому

      Within the loader itself you should be able to fetch however much data/API you want

  • @zawriter4783
    @zawriter4783 2 роки тому

    Ik that this channel is for js. But can you do some golang videos? I really want to learn it but good quality tutorials are very limited

    • @mariusespejo
      @mariusespejo  2 роки тому +2

      I would if I knew more about it haha perhaps one day, tbh though I don’t have much time to learn a new language unless it’s something I’d encounter at work

  • @katherinmumbunan9916
    @katherinmumbunan9916 Рік тому

    Unfortunately, the Ghibli api on heroku is not longer exists now 😭

    • @mariusespejo
      @mariusespejo  Рік тому

      Oh man… thanks for the heads up! I’ll make a pinned comment about it

  • @nguyenngochai0z
    @nguyenngochai0z Рік тому

    Themes name are u use for vscode please

  • @justrdkcs
    @justrdkcs 2 роки тому

    which is the theme you are using on your editor?

    • @mariusespejo
      @mariusespejo  2 роки тому

      It’s one of the night owl variations I believe night owl dark/black

  • @kiran-dz7cj
    @kiran-dz7cj 10 місяців тому

    how can we clear the validation error on input change ?

    • @mariusespejo
      @mariusespejo  10 місяців тому

      In react you can always attach an onChange on the input to adjust the behavior while the user is typing

  • @mohamedyahya7463
    @mohamedyahya7463 2 роки тому

    thanks a lot Marius it's really helpful 👌

  • @RobbyWidyahartono
    @RobbyWidyahartono 2 роки тому

    Thank you for your great explanation Marius. I have followed your tutorial, but I got the worst performance when redirecting / going back to another path, the redirection can take about 3 seconds to show page. Do you also have this problem when using the loader with the external API?

    • @mariusespejo
      @mariusespejo  2 роки тому

      I didn’t have that problem but if you are using an external API, the performance will depend on that API’s response time to your own location. Are you using the same ghibli API?

    • @RobbyWidyahartono
      @RobbyWidyahartono 2 роки тому

      @@mariusespejo Yes, I use the same ghibli API, but when I hit the API from the postman or browser, it's just take around 1 second, the redirection which take the long time, when I click back on the detail movie, it's like stuck on the detail movie around 3 seconds, before it can redirect to the movie list page. I also have followed the remix jokes tutorial, if I use prisma and sqlite, there is no issue

    • @mariusespejo
      @mariusespejo  2 роки тому

      You definitely won’t see an issue with sqlite since that’s local to you, it’s a file on your machine. It honestly sounds like the ghibli api just isn’t performant to your location

    • @RobbyWidyahartono
      @RobbyWidyahartono 2 роки тому

      ​@@mariusespejo It makes sense, thank you for the explanation

  • @dio-ei6de
    @dio-ei6de 2 роки тому

    Can you make a tutorial for a login page and storing sessions in remix?

    • @mariusespejo
      @mariusespejo  2 роки тому

      I’ll consider it when I get a chance. I know there’s a remix-auth project similar to passport if it’s something you want to explore

  • @oscarresonable2008
    @oscarresonable2008 2 роки тому

    Hello. Thanks for this tutorial. It really helps a lot. You make everything too easy 🥳. With that you gain 1 subscriber 🥰. Also, I would like to know which extension are you using for the auto importer and auto suggest? @30:26

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      No extension! That’s all just typescript and vs code’s support for it. Take a look at tsconfig when you make s typescript remix app and notice the alias paths are defined there

    • @oscarresonable2008
      @oscarresonable2008 2 роки тому

      @@mariusespejo Thanks for the reply. Quick question tho. I actually downloaded your code and use it as a template. I used firestore as a db. When I tried to console.log the data it keeps going to terminal. I wanted it to appear in the chrome console tho. Is there any missing settings I need to check?

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      Well it depends where and when you’re logging, if you’re logging in the loader function that only executes on the server so logs there won’t be on the browser.. remix also I think sever-renders the first load of your app and then it sort of turns into an SPA, at which point logs within components likely will show on the browser. So it’s not a setting, you have to fundamentally understand where your code is actually running

    • @oscarresonable2008
      @oscarresonable2008 2 роки тому

      @@mariusespejo Cool. It make sense now. I used to it when you can log the data in the chrome console. Its really on the framework huh. Thanks. 🥳👌

  • @laluchademeche
    @laluchademeche 2 роки тому

    Execelente, gracias por el aporte, una consulta el themee of vscode?

  • @MaybeBL1TZ
    @MaybeBL1TZ 2 роки тому

    it kinda reminds me like ruby on rails

  • @ommistry834
    @ommistry834 Рік тому

    The tailwindcss part is not working for me (gap-4 grid col-4 and all the other basic editing) it gives me No routes matched location /styles error . Can you please help me on how I could move ahead? (I already reinstalled tailwind again)

    • @mariusespejo
      @mariusespejo  Рік тому +1

      You can double check against official docs: tailwindcss.com/docs/guides/remix
      Note that you don’t have to use tailwind, you can use whatever styling solution you want, even just plain old css

    • @ommistry834
      @ommistry834 Рік тому

      @@mariusespejo Thanks for your reply! I looked at the instructions and now realise that it is not tailwind css that is not working but the LinksFunction which gives problem when href: styles, I fixed it !!
      The video is highly informative and so easy to follow, Thank you so much !!

    • @mariusespejo
      @mariusespejo  Рік тому

      Glad you figured it out!

    • @ommistry834
      @ommistry834 Рік тому

      @@mariusespejo I just realised that the error was not in fact any of the above but the Links Function itself which causes it give routing errors and keeps saying No route styles found and the same happens when I try to get the film title when you click on any of the film , so I am assuming it has to do with remix , any ideas would help ?
      Thanks again

    • @mariusespejo
      @mariusespejo  Рік тому

      It looks like remix added built-in support for tailwind (wasn’t there at the time of this video). I suggest following their suggested setup here: remix.run/docs/en/main/guides/styling#tailwind-css

  • @zawriter4783
    @zawriter4783 2 роки тому

    Can you make videos more frequently? 😃

    • @mariusespejo
      @mariusespejo  2 роки тому +1

      Haha I’m trying to! What sorts of topics are you liking from the channel? Any topic suggestions?

    • @zawriter4783
      @zawriter4783 2 роки тому

      @@mariusespejo Well I really like project based tutorials to update my portfolio like the teamseas clone.
      Can you make some advanced project with remix? With authentication & authorization. Maybe an e-commerce project or anything better :)
      Again, Thanks so much for your efforts! Really great teacher

  • @adrianlineweaver4725
    @adrianlineweaver4725 2 роки тому

    Nestjs vs Remix?

    • @mariusespejo
      @mariusespejo  2 роки тому +2

      That’s comparing apples to oranges, I’d say if you’re trying to make a traditional rest/graphql api that’s what nest would be for. Remix is specifically a react ssr solution. Perhaps you meant to ask NEXTjs vs remix? That would make a little more sense

  • @afaque.
    @afaque. 2 роки тому

    59:00

  • @abs884
    @abs884 2 роки тому

    Tailwindcss was not working for me. Finally after 2 hour I was able figure it out. If you've install tailwind as devDependencies, add `npx` before your tailwindcss cmd in your build:css & dev:css. E.g. "build:css": "npx tailwindcss -o ./app/tailwind.css" same for the other one.

    • @mariusespejo
      @mariusespejo  2 роки тому

      That doesn’t sound right to me, pay attention to the error logs when it fails, it will give you a clue. But using npx in your script is not the correct solution, that means you’re not using your locally installed version of tailwind which could lead to bigger problems down the road

    • @abs884
      @abs884 2 роки тому

      @@mariusespejo yeah I just found out I npm installed tailwind instead of tailwindcss

    • @mariusespejo
      @mariusespejo  2 роки тому

      Cool, glad you figured it out!