I have a React Server Side Rendering App. There's a performance issue when images are to be displayed on the page. For an image to be displayed, there's a network call for the image from the server and then it's displayed on screen. For larger images, it takes a while to load the image which is very evident. Is there a way once the request is made to the server and the image is received as response to have the image stored locally and use the locally stored image when needed again without making a network request. I couldn't find any good resource to help me through this one, it would be of great help if you could help me with this one or even point me to a reference!
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
I have written a sample code ( Github Link here ). this is a simple next js app, but giving me error when I refresh the page. This seems to be the common problem and I tried the fix provided in the internet but does not seem to fix my issue. The error is Warning: Prop className did not match. Server: "MuiBox-root MuiBox-root-1" Client: "MuiBox-root MuiBox-root-2". Did changes for _document.js, modified _app.js as mentioned in official website and solutions in stackoverflow. but nothing seems to work. Could someone take a look and help me whats wrong with the code? Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment