Harley Alexander

Results 51 comments of Harley Alexander

+1. I am about to write this functionality so will post the code I end up with.

Hopefully, someone can use this as a starter: ``` export const loadCachedDatasets = ({ datasets }) => { /** * Delete the cache if the url has a cachebuster param...

We solve it like so; ```js const refs = React.useRef([]) const activeScreen = useScrollSpy({ sectionElementRefs: refs.current, }) ... {items.map((item, i) => !refs.current.includes(ref) && refs.current.push(ref)}>section )} ```

We are fortunate that we don’t have to worry about that in our situation, though it’s a good question. Would have to pass a function down to each mapped component...

Thank you so much for doing this. Significantly simplifies our dev workflow for M1 machines.

Thanks for letting me know. Do you have a codesandbox that reproduces this?

Please provide a codesandbox - I do not have this issue.

Hey, why don’t you move the useChannel hook higher up into a provider? That way it can live connected for the duration of the session.

Hey @OliverBrotchie I haven't had time lately to maintain it. Are there any features missing for you or bugs you're encountering?