Getting Started with React in Laravel

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

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

  • @rachid-kabir
    @rachid-kabir 8 месяцев назад +2

    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

  • @anasouardini
    @anasouardini 8 месяцев назад +1

    How do they communicate? API?

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

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

  • @ryanp56
    @ryanp56 10 месяцев назад +4

    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 2 дня назад

      I think it's not possible due to CORS

  • @icyrealm7
    @icyrealm7 7 месяцев назад +3

    Awesome, love this starter kit!

  • @Dev_Unbelievable
    @Dev_Unbelievable 7 месяцев назад +3

    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.

  • @JustinWilliams-f1v
    @JustinWilliams-f1v 10 месяцев назад +14

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

    • @LaravelPHP
      @LaravelPHP  10 месяцев назад +8

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

    • @guusleeuw5558
      @guusleeuw5558 10 месяцев назад +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 10 месяцев назад +1

      @@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 10 месяцев назад

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

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

      @@LaravelPHP Real chad

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

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

  • @bibekbhandari7985
    @bibekbhandari7985 8 месяцев назад +1

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

    • @rachid-kabir
      @rachid-kabir 8 месяцев назад

      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 2 месяца назад

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

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

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

  • @davidkvasnovsky3208
    @davidkvasnovsky3208 10 месяцев назад +1

    What color scheme/theme do you use?

  • @uranbob
    @uranbob 5 месяцев назад

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

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

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

  • @carlosmontiel7078
    @carlosmontiel7078 6 месяцев назад

    Feeling great watching this earlier i think

  • @NathanBudd
    @NathanBudd 10 месяцев назад +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!

  • @deathcuree
    @deathcuree 8 месяцев назад

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

  • @pjr
    @pjr 10 месяцев назад +4

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

    • @francismori7
      @francismori7 10 месяцев назад +3

      This was Inertia with React, so yes.

    • @pjr
      @pjr 10 месяцев назад

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

    • @JJJMMM1
      @JJJMMM1 10 месяцев назад +1

      @@pjrThat's not true at all.

  • @ahmadabeer3523
    @ahmadabeer3523 8 месяцев назад

    can this be deployed to hostinger

  • @victorc.chikezie
    @victorc.chikezie 10 месяцев назад +1

    This is beautiful

  • @AndiIrsandiRamadani
    @AndiIrsandiRamadani 8 месяцев назад

    how to install library there?

  • @fusion-ux1zz
    @fusion-ux1zz 2 месяца назад

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

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

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

    • @fusion-ux1zz
      @fusion-ux1zz 2 месяца назад

      @@LaravelPHP thank you

  • @predaytor
    @predaytor 10 месяцев назад

    Cool! What's an IDE you are using?

    • @parsinta
      @parsinta 10 месяцев назад +1

      phpstorm.

  • @nihongo_
    @nihongo_ 9 месяцев назад

    thank u bro

  • @ahmedhabeeb2499
    @ahmedhabeeb2499 10 месяцев назад

    love u keep going

  • @two-zero
    @two-zero 4 месяца назад

    Thank you bro

  • @vinit095
    @vinit095 10 месяцев назад

    😎🆒

  • @djnet00
    @djnet00 10 месяцев назад

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

    • @eptic-c
      @eptic-c 10 месяцев назад +2

      composer global require laravel/installer

    • @djnet00
      @djnet00 10 месяцев назад

      @@eptic-c thank you 🙏🏼

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

    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?

  • @nym49
    @nym49 10 месяцев назад +3

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

  • @devKazuto
    @devKazuto 10 месяцев назад +3

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

  • @enterusername7746
    @enterusername7746 10 месяцев назад +2

    No one uses React anymore.

    • @eptic-c
      @eptic-c 10 месяцев назад +8

      Meanwhile it has 22 million downloads WEEKLY

    • @enterusername7746
      @enterusername7746 10 месяцев назад

      @@eptic-c Your legacy projects.

    • @pjr
      @pjr 10 месяцев назад +1

      Then Inertia supports Vue even more.

    • @eptic-c
      @eptic-c 10 месяцев назад

      @@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 9 месяцев назад

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