api-viewer-element icon indicating copy to clipboard operation
api-viewer-element copied to clipboard

refactor: state management

Open bennypowers opened this issue 3 years ago • 0 comments

Currently, we rely on prop-drilling to pass state among components.

Ideally, we would use something like the Context API Community Protocol to manage state and avoid prop-drilling. This may be paired with a reactive controller as well.

bennypowers avatar Nov 05 '21 06:11 bennypowers