Title: Multiple Stores Overwrite on last store · Issue #197 · developit/unistore · GitHub
Open Graph Title: Multiple Stores Overwrite on last store · Issue #197 · developit/unistore
X Title: Multiple Stores Overwrite on last store · Issue #197 · developit/unistore
Description: Rather than merging store with previous store I would like to have them separately. E.g. const AuthStore = ({ children }) => Open Graph Description: Rather than merging store with previous store I would like to have them separately. E.g. const AuthStore = ({ children }) => X Description: Rather than merging store with previous store I would like to have them separately. E.g. const AuthStore = ({ children }) => <Provider store={pageStore}>{children}</Provider> const P...
Opengraph URL: https://github.com/developit/unistore/issues/197
X: @github
Domain: patch-diff.githubusercontent.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple Stores Overwrite on last store","articleBody":"Rather than merging store with previous store I would like to have them separately. E.g.\r\n\r\n```jsx\r\nconst AuthStore = ({ children }) =\u003e \u003cProvider store={pageStore}\u003e{children}\u003c/Provider\u003e\r\nconst PageStore = ({ children }) =\u003e \u003cProvider store={authStore}\u003e{children}\u003c/Provider\u003e\r\n\r\nrender(\r\n \u003cAuthStore\u003e\r\n \u003cPageStore\u003e\r\n ...\r\n \u003c/PageStore\u003e\r\n \u003c/AuthStore\u003e\r\n, document.body)\r\n\r\n```\r\n\r\nBut currently when I try to use the stores in a component:\r\n```jsx\r\nconst A = connect('page', 'auth')(({ page, auth, children }) =\u003e (\r\n // page is defined but not auth\r\n)\r\n```\r\n\r\nit seems like Page provider overwrites the Auth provider.","author":{"url":"https://github.com/adminy","@type":"Person","name":"adminy"},"datePublished":"2021-12-08T15:09:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/197/unistore/issues/197"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:2ad2160f-eb4c-7a5d-e324-6e4e86aef0cc current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 9BF6:1BDEB3:FB43DE:144E101:6990C7F9 html-safe-nonce 2ae6d1d89e13da1568c0f92925423716a152a1dc3037ee739195f07ca9a43229 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkY2OjFCREVCMzpGQjQzREU6MTQ0RTEwMTo2OTkwQzdGOSIsInZpc2l0b3JfaWQiOiI4MTM2NzM0MDg5OTg4MzI3NDE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac 5a63c0facbfd75e2b2a6a28ac54c1b7d1c73bdc996dd17876a3824667b4cd99e hovercard-subject-tag issue:1074513973 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developit/unistore/197/issue_layout twitter:image https://opengraph.githubassets.com/e8208a436d922448f28a3ee9b8a567aca9b546611031bb7862bd4f66386c782a/developit/unistore/issues/197 twitter:card summary_large_image og:image https://opengraph.githubassets.com/e8208a436d922448f28a3ee9b8a567aca9b546611031bb7862bd4f66386c782a/developit/unistore/issues/197 og:image:alt Rather than merging store with previous store I would like to have them separately. E.g. const AuthStore = ({ children }) => og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username adminy hostname github.com expected-hostname github.com None 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b turbo-cache-control no-preview go-import github.com/developit/unistore git https://github.com/developit/unistore.git octolytics-dimension-user_id 105127 octolytics-dimension-user_login developit octolytics-dimension-repository_id 113351554 octolytics-dimension-repository_nwo developit/unistore octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 113351554 octolytics-dimension-repository_network_root_nwo developit/unistore turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 848bc6032dcc93a9a7301dcc3f379a72ba13b96e ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.