json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

Performance improvements

Open richiksc opened this issue 5 years ago • 4 comments

These changes improve performance by: a) Enabling tree-shaking by using ES6 imports b) Short-circuiting the JSON check if the correct content-type is served c) Short-circuiting to false if the JSON body does not start with '{' or '[' d) Lazy-loading the rest of the viewer only if the JSON check passes.

This should help with tulios/json-viewer#142.

richiksc avatar May 14 '19 15:05 richiksc

@tulios?

richiksc avatar May 15 '19 18:05 richiksc

Does somebody could update the extension on the Chrome webstore with the latest changes/commits including those ones ?

Regards :octocat:

mikhoul avatar Jun 02 '19 01:06 mikhoul

Pinging @tulios again.

jonluca avatar Jun 13 '19 20:06 jonluca

@tulios Any updates on whether this might be merged?

richiksc avatar Dec 13 '20 03:12 richiksc