Any future idea for “contexts” that could be defined and used through Plasmic UI in the future?
They would allow for parent and deep children components to “speak” with each other, without having to wire up everything with props (or a custom code component that uses context under the hood).
Such a thing could maybe make it possible to define things such as:
• custom tables
• accordions
• “smarter” page components (e.g. a “Cart” context - components throughout the page could let you add items to that cart)
You can already achieve this by inserting a Data Provider component. This lets you make any data available the context, so that any components further down can read from this.