I get the following error on the console for running the reactjs application.
AJAX Failed: SyntaxError: Unexpected token < in JSON at position 0
on the developer tools console window. I got the following error.
search-e3e9d0f9da88f042e3cb.js:446 Warning: React attempted to reuse markup in a container but the checksum was invalid.
This generally means that you are using server rendering and the markup generated on the server was not what the client
was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering.
Instead, figure out why the markup being generated is different on the
client or server:
(client) " data-reactid="18">Medium</div><button
(server) " data-reactid="18">Large</div><button s
It is wagtail application(it is like Django-cms), in which react module is called inside the wagtail application. The development environment is Ubuntu on aws.
Please help me in resolving this issue. I am not able to find the origin of the error.
With Many Thanks,