store icon indicating copy to clipboard operation
store copied to clipboard

Passing a custom global context

Open sahanljc opened this issue 3 years ago • 5 comments

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.

sahanljc avatar Mar 03 '21 07:03 sahanljc

Can anyone help here?

pedrobernardina avatar Feb 23 '22 13:02 pedrobernardina

Hi @pedrobernardina, we had a solution for this a long time ago. This feature has been merged. We can close this issue.

sahanljc avatar Feb 23 '22 15:02 sahanljc

how can i add my CustomContextProvider to the store?

kevin-dev71 avatar Apr 19 '22 22:04 kevin-dev71

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

daygarcia avatar Aug 01 '22 11:08 daygarcia

how can i add my CustomContextProvider to the store?

I found it: https://github.com/vtex-apps/store/pull/506

daygarcia avatar Aug 01 '22 11:08 daygarcia