News for hackers. Stuff that matters.
Re:A Short Cautionary Tale About Refactoring by ziga-miklic on Sunday March 21, 2021 @05:55AM (#26529317)
The author here: Thank you for reading my post. I think it is a valid use case as this is a React application and the inlined image is inside JSX. It is also a part of the main app file. So when the user goes offline, the function with the inlined image is run and the image is rendered. As the image source is inlined, the browser does not need to make a request for the image.

There are no comments on this comment yet.