Federico Zivolo

Results 282 comments of Federico Zivolo

No, I implemented my own solution/hook at the end

`babel-plugin-macros` lists this in the "caveats" section, I would say we should let them handle the issue and close this one since it's not a bug with this library in...

What's the issue with Rollup? I would expect it to work as long you have Babel properly configured.

Thanks! So the result would be several HTML files that should be then served somehow by my own http server?

As workaround, for now I'm using this wrapper: ```js import { useRef } from 'react'; import { equals } from 'ramda'; import _createPersistedState from 'use-persisted-state'; const useMemoizedObject = (obj) =>...

No, `useMemo` doesn't perform a deep comparison

I just tried this package (https://www.npmjs.com/package/shared-session-storage) but I get the same issue, could it be a bug in this hook implementation? (in the Chrome Dev Tools I see the correct...

Yes I tried but the components don’t seem to receive the updated values

You can try this one https://codesandbox.io/s/friendly-satoshi-dg2p2?file=/src/App.js Open the app in two different tabs, click the "Random" button, observe the values are not in sync between the two tabs, but if...

> According to MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage > > > > - Opening multiple tabs/windows with the same URL creates sessionStorage for each tab/window. > > > > This is working...