Skip to content

Expose ProductSummaryContext and ProductDispatchContext in the default imports.  #23

Description

@sadiqboxed

Hello,

I am working on a VTEX IO app and am relying on react provider overrides to power my feature. I was hoping that it is possible to expose those contexts to give users more granular control as to what they want to override. For example, I dont need to control how the dispatch events work but do need control over what state the provider has.

An example of what I am talking about:

export default {
  ProductSummaryProvider,
  ProductSummaryContext,
  ProductDispatchContext,
  useProductSummary,
  useProductSummaryDispatch,
}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions