Pudding_Pop
Pudding_Pop

Reputation: 3

Laravel 5.4 and React

Does anyone knows if there is much difference in installing and using react inside of laravel 5.4 and laravel 5.6? I find alot of tutorial for 5.6 but the labs at my school only support 5.4 so changing version is not an option. Can someone tell me if it's pretty much the same or not the same at all?

Upvotes: 0

Views: 92

Answers (2)

A. Dabak
A. Dabak

Reputation: 870

There should not be any different, react is a front end technology, so it runs in the browser, when laravel is a backend technology and runs on the server.

You may need different dependencies to compile the latest react version from the ones which comes with laravel 5.4. so run npm update before you start.

Upvotes: 0

Andy Song
Andy Song

Reputation: 4684

It's pretty much the same. The key thing is to know how laravel-mix works, laravel version does not matter too much.

Here is a good link for learning laravel-mix. link

Upvotes: 1

Related Questions