Open richiksc opened 5 years ago
@tulios?
Does somebody could update the extension on the Chrome webstore with the latest changes/commits including those ones ?
Regards :octocat:
Pinging @tulios again.
@tulios Any updates on whether this might be merged?
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.