store
store copied to clipboard
Passing a custom global context
https://github.com/vtex-apps/store/blob/f0c4d11976a2ed3ca6af20acf816d35bdc97ffd9/react/StoreWrapper.js#L121
@klzns @victorhmp How can we pass our own context here, so that we can use it store-wide?
We see the possibility of using this feature for product comparison as well.
Can anyone help here?
Hi @pedrobernardina, we had a solution for this a long time ago. This feature has been merged. We can close this issue.
how can i add my CustomContextProvider to the store?
The feature has been merged, but where is the mention of the commit or PR, or where is the documentation url explaining how to use this
how can i add my CustomContextProvider to the store?
I found it: https://github.com/vtex-apps/store/pull/506