beracah.kings's avatar

React - Laravel

Im having a pagination table with Laravel - Ajax - response is html page from ajax. Im planning to change it Laravel - React. Will the json response be faster than the htmlresponse from ajax.

0 likes
1 reply
bobbybouwmann's avatar

The JSON and HTML responses have the same response time. It just depends on how much logic you do. The HTML response depends on how much other data you load. With the React approach, you might need to do multiple requests so the responses will be faster per request, but doing multiple requests might take longer.

1 like

Please or to participate in this conversation.