You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are now transmitting quite a few separate preferences into the webview, and we're doing so by fetching every value we're interested in separately and then combining them into an object.
We could make that code less verbose if we simply fetched all of the preferences associated with the plugin at once and transmitted that to the webview:
The downside would be coupling between the package.json declarations and our data formats. But there's already a lot of coupling, since we're just pulling out the fields declared in the package.json one by one anyway.
We are now transmitting quite a few separate preferences into the webview, and we're doing so by fetching every value we're interested in separately and then combining them into an object.
We could make that code less verbose if we simply fetched all of the preferences associated with the plugin at once and transmitted that to the webview:
The downside would be coupling between the
package.json
declarations and our data formats. But there's already a lot of coupling, since we're just pulling out the fields declared in thepackage.json
one by one anyway.Originally posted by @colin-grant-work in #89 (comment)
The text was updated successfully, but these errors were encountered: