d9060f5abd
### changes #### remove trailing spaces When I was using example I noticed trailing spaces. So, this PR removes the trailing spaces of json file, README, and others. `examples/with-jest-typescript/src/modules/cars/Overview.tsx` also has it, but this time it did not change as tslint error occurs at commit.
493 B
493 B
Circular structure in "getInitialProps" result
Why This Error Occurred
getInitialProps
is serialized to JSON using JSON.stringify
and sent to the client side for hydrating the page.
However, the result returned from getInitialProps
can't be serialized when it has a circular structure.
Possible Ways to Fix It
Circular structures are not supported, so the way to fix this error is removing the circular structure from the object that is returned from getInitialProps
.