Getting Started with React in Laravel

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

КОМЕНТАРІ •

  • @icyrealm7
    @icyrealm7 11 місяців тому +3

    Awesome, love this starter kit!

  • @Dev_Unbelievable
    @Dev_Unbelievable 11 місяців тому +5

    This is a great start, thank you very much. I learned a lot about Laravel and React. Before, I read many documents but I couldn't find the solution. Thank you. Moreover, when I followed your demo, I understood everything immediately without any effort.

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

    Thank you!
    Anyway, how to make beauty interactive CLI like yours when i want to make a new app with "laravel new" command?

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

    Excited to start a project with laravel and react!

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

      All the best and have fun 🙌 (Christoph)

  • @NathanBudd
    @NathanBudd Рік тому +4

    This is great to see! Livewire is great and is getting a lot of attention atm, but I'm a huge fan of Intertia!
    It would be great to see a video on how to use spark and inertia together. I'll buy a license on the spot!

  • @ryanp56
    @ryanp56 Рік тому +6

    Are there any options that use JWT or any other auth type that doesn't require the API and the client app to be on the same domain?

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

      I think it's not possible due to CORS

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

    Quick question: How can I switch from Tailwind CSS to Bootstrap and after Laravel Breeze installation?

    • @rachid-kabir
      @rachid-kabir Рік тому +1

      just to know first thing bootstrap have files js if you work with react you wil find problem for that ans the solution is to use react-bootstrap and this is not good for server side randring becous react-bootstrap it work just in client side so i recommend tailwind if you have website or application neded SEO

    • @drugoviic
      @drugoviic 7 місяців тому

      use laravel UI, its still somehow maintained and uses bootstrap out of the box

    • @humanbeing7624
      @humanbeing7624 5 місяців тому

      why? tailwind is fine. They are very similar and you can't use bootstrap.js if that's your intention.

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

    This is so awesome! I'll make a website out of this, thanks!

  • @anasouardini
    @anasouardini Рік тому +4

    How do they communicate? API?

    • @drugoviic
      @drugoviic 7 місяців тому +1

      no api required inertia handles the passing of data automatically you just define routes in laravel

  • @sapansidhwani5843
    @sapansidhwani5843 6 днів тому

    Can you tell us how to deploy this application on Vercel?

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

    Feeling great watching this earlier i think

  • @pjr
    @pjr Рік тому +4

    I know that Intertia works really well with Vue. Does it support React the same?

    • @francismori7
      @francismori7 Рік тому +4

      This was Inertia with React, so yes.

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

      @@francismori7 No, I mean they prioritize Vue over React as I know.

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

      @@pjrThat's not true at all.

  • @Youssef-zy8hk
    @Youssef-zy8hk 3 місяці тому

    When are server components comin?

  • @rachid-kabir
    @rachid-kabir Рік тому +5

    Everything I mentioned is true, except that I do not advise anyone to use Laravel React Inertia to build a website or application that needs to appear in the first results in the Google search engine or something similar. Server side randring in Inertia is not easy to apply, whether on the local server or on the other server. Or hosting platform I recommend next js and laravel breeze api is better and there are no problems

  • @itzCecco
    @itzCecco 6 днів тому

    Can I deploy it on Plesk?

  • @victorc.chikezie
    @victorc.chikezie Рік тому +1

    This is beautiful

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

    can this be deployed to hostinger

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

    Cool! What's an IDE you are using?

  • @uranbob
    @uranbob 9 місяців тому

    PLS, can you explain how to deploy such a project for regular shared PHP hosting? without node on it

    • @drugoviic
      @drugoviic 7 місяців тому +1

      you can but you will not be able to use ssr,

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

    It is strange choice to couple frontend framework with auth.

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

      You think so? I think it is a great one and I see more and more doing that with inertia 2.0 now too. Give it a look if you haven't yet.

  • @fusion-ux1zz
    @fusion-ux1zz 6 місяців тому

    how is there is auto complete in the cli? how to get that

    • @LaravelPHP
      @LaravelPHP  6 місяців тому +2

      Thats an zsh plugin: github.com/zsh-users/zsh-autosuggestions

    • @fusion-ux1zz
      @fusion-ux1zz 6 місяців тому

      @@LaravelPHP thank you

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

    how to install library there?

  • @two-zero
    @two-zero 8 місяців тому

    Thank you bro

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

    How can I install the laravel installer? I need run "laravel new xxxxx", but I don´t know :/
    Thank you!

    • @eptic-c
      @eptic-c Рік тому +2

      composer global require laravel/installer

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

      @@eptic-c thank you 🙏🏼

  • @sparrowlabs4590
    @sparrowlabs4590 6 місяців тому

    Quick one: if im to use laravel with react, can i add some npm packages and use them in my react?
    Also, will tools like fillament generate react code or php?

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

    thank u bro

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

    love u keep going

  • @JustinWilliams-f1v
    @JustinWilliams-f1v Рік тому +24

    I ran to Laravel to get away from React. I will never be free.
    edit: /s

    • @LaravelPHP
      @LaravelPHP  Рік тому +8

      We will always support using Laravel without React too :-)

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

      But with Laravel you have the choice to ignore React - it's more an Institution than a Prison, this Laravel thing 👀

    • @JustinWilliams-f1v
      @JustinWilliams-f1v Рік тому +2

      @@LaravelPHP Thank you Laravel! I am very happily creating a new blade component at work right now.(I'm not watching YT at work - no never.) I am also thrilled React Devs can work in this brilliant framework. Thanks for all you do!

    • @JustinWilliams-f1v
      @JustinWilliams-f1v Рік тому

      @@guusleeuw5558 I was only joking. love the flexibility of the framework.

    • @skygnd
      @skygnd 9 місяців тому

      @@LaravelPHP Real chad

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

    😎🆒

  • @VirendraBG
    @VirendraBG 12 днів тому

    Good video, but annoying background music. Don't need any music.

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

    feedback:
    too much loud music
    too much unnecessary framing around the video

  • @devKazuto
    @devKazuto Рік тому +4

    Wait? React has good things? JSX and ever changing ways to write components clearly can't be it.

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

      Skill issue. Also what are these "ever changing ways to write components"? It's not like Vue hasn't done that by introducing composition API. You can also use React class components if you want. They're not deprecated. JSX is easy and people who complain about it seriously have skill issues.

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

    No one uses React anymore.

    • @eptic-c
      @eptic-c Рік тому +13

      Meanwhile it has 22 million downloads WEEKLY

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

      @@eptic-c Your legacy projects.

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

      Then Inertia supports Vue even more.

    • @eptic-c
      @eptic-c Рік тому

      @@enterusername7746 react is still on top with the most support unfortunately, i'm a svelte and solid user but i can't deny the reality, this will only make me delusional

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

      @@enterusername7746 wait legacy projects download react, every week??