Whats the view that holds the react root?

|
2020-11-02 21:12:04
https://youtu.be/P0szX_aDwR8

E-commerce website with multi vendor support shopping, store, admin dashboard part -1YouTube
2020-11-02 21:12:22
https://youtu.be/P0szX_aDwR8

E-commerce website with multi vendor support shopping, store, admin dashboard part -1YouTube
2020-11-02 21:13:27
https://youtu.be/cGiG__MF2Io

E-commerce website with multi vendor support shopping,store,admin dashboard part-2YouTube
2020-11-02 21:14:01
https://youtu.be/kZgnuPcIlEg

E-commerce website with multi vendor support shopping, store, admin dashboard part -3YouTube
2020-11-02 21:19:41
Anybody looking for laravel freelance
2020-11-02 21:56:58
hi why my code not run ?
name function is string ? but not worked :
//in class
public $nameFunction;

public function message(){return “hello”};
public function index(){
$this->nameFunction=”message”;
$this->nameFunction();
}

2020-11-02 21:57:47
2020-11-02 21:56:58
hi why my code not run ?
name function is string ? but not worked :
//in class
public $nameFunction;

public function message(){return “hello”};
public function index(){
$this->nameFunction=”message”;
$this->nameFunction();
}

how i,m execute my function when time Function name is string

2020-11-02 22:02:59
laravel_discuss-57655.jpg

2020-11-02 22:03:44
2020-11-02 22:02:59

why not work ?
ERROR : call_user_func_array() expects parameter 1 to be a valid callback, function ‘message’ not found or invalid function nam

DesolatorMagno 2020-11-02 22:31:01
2020-11-02 21:56:58
hi why my code not run ?
name function is string ? but not worked :
//in class
public $nameFunction;

public function message(){return “hello”};
public function index(){
$this->nameFunction=”message”;
$this->nameFunction();
}

Because is wrong, try writing In paper, or just think, how you call a function and what is the result of $this->name function()

M 2020-11-02 23:11:41
Hi laravel 8 How to xssfilter and sql injection auto prtorection
2020-11-02 23:28:10
laravel_discuss-57660.jpg
I am using laravel with react, and want to use react router dom, how do I specify the controller action on line 32 so that it does not give me an error.
natghi2010 2020-11-02 23:33:27
2020-11-02 23:28:10
I am using laravel with react, and want to use react router dom, how do I specify the controller action on line 32 so that it does not give me an error.

whats the error

natghi2010 2020-11-02 23:36:59
and where is your reactController?
2020-11-02 23:37:30
natghi2010 2020-11-02 23:33:27
whats the error

TypeError
ReflectionFuntion::__construct() expects parameter 1 to be string, array given

natghi2010 2020-11-02 23:38:01
php artisan make:controller ReactController
2020-11-02 23:38:13
natghi2010 2020-11-02 23:36:59
and where is your reactController?

App http controller

2020-11-02 23:39:01
natghi2010 2020-11-02 23:38:01
php artisan make:controller ReactController

Must it be named ReactController

natghi2010 2020-11-02 23:39:15
no
natghi2010 2020-11-02 23:39:38
2020-11-02 23:39:01
Must it be named ReactController

but you are passing every route through there

2020-11-02 23:40:23
natghi2010 2020-11-02 23:39:38
but you are passing every route through there

How should I write that route?

natghi2010 2020-11-02 23:40:45
2020-11-02 23:28:10
I am using laravel with react, and want to use react router dom, how do I specify the controller action on line 32 so that it does not give me an error.

this is right

natghi2010 2020-11-02 23:41:09
you just need to make a controller that handles it
natghi2010 2020-11-02 23:41:35
whats the view that holds the react root?
2020-11-02 23:42:50
natghi2010 2020-11-02 23:41:35
whats the view that holds the react root?

It’s in views.portal.index.blade.php

natghi2010 2020-11-02 23:43:41
2020-11-02 23:42:50
It’s in views.portal.index.blade.php

class ReactController extends Controller {
public function index () {
return view(‘portal.index’);
}
}

natghi2010 2020-11-02 23:44:00
the rest will be handled by react router
2020-11-02 23:44:49
Let me try that
2020-11-02 23:55:18
natghi2010 2020-11-02 23:44:00
the rest will be handled by react router

Still not working it keeps giving me this error
TypeError
ReflectionFunction::__construct() expects parameter 1 to be string, array given

natghi2010 2020-11-02 23:56:05
2020-11-02 23:55:18
Still not working it keeps giving me this error
TypeError
ReflectionFunction::__construct() expects parameter 1 to be string, array given

oh boy

natghi2010 2020-11-02 23:56:19
the issue is most likely caused by the new laravel 8
natghi2010 2020-11-02 23:56:34
the old one had this format
natghi2010 2020-11-02 23:56:56
portualuicontroller@index
natghi2010 2020-11-02 23:57:12
the new one is an array
natghi2010 2020-11-02 23:57:36
natghi2010 2020-11-02 23:56:56
portualuicontroller@index

try this

2020-11-02 23:59:41
natghi2010 2020-11-02 23:57:36
try this

When I use this, the error is know Target class does not exist.

natghi2010 2020-11-03 00:00:55
2020-11-02 23:59:41
When I use this, the error is know Target class does not exist.

ok im lost

natghi2010 2020-11-03 00:03:01
2020-11-02 23:59:41
When I use this, the error is know Target class does not exist.

but i can tell you with 80% certainty
‘uses’ => ‘ReactController@show’,

natghi2010 2020-11-03 00:03:13
this is the line causing problems
2020-11-03 00:04:28
natghi2010 2020-11-03 00:03:13
this is the line causing problems

Yeah

natghi2010 2020-11-03 00:04:51
2020-11-03 00:04:28
Yeah

laravel 8 is a big jump and they didnt account for a lot

2020-11-03 00:05:24
natghi2010 2020-11-03 00:04:51
laravel 8 is a big jump and they didnt account for a lot

I will keep searching.

2020-11-03 00:05:35
Thenks for the help
DesolatorMagno 2020-11-03 00:10:02
Try composer dump autoload
DesolatorMagno 2020-11-03 00:12:49
Try using the same format as line 26.
2020-11-03 04:59:43
Hi guys has anyone here setup bagisto locally on mac
2020-11-03 07:25:06
Who has started using jetstream, livewire and tailwind?
techandtipsonline 2020-11-03 07:35:17
Can anyone help me to learn Session flash MESSAGES
Elephant Money 2020-11-03 08:03:07
can you fix this error….data is wrong
Mujhtech 2020-11-03 08:03:17
techandtipsonline 2020-11-03 07:35:17
Can anyone help me to learn Session flash MESSAGES

Use can use return back() – >with(‘title’, ‘message’);

|