larafam
252
6
Laravel

laravel and ajax

Posted 1 year ago by larafam

when to use ajax in my application?

should i return the data at the controller like this:

return view('myview')->with('data', $data);

or use ajax to get the data???

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.