               const subscribers = subscriberCache.get(path);
                    if (subscribers) {
                        subscribers.delete(callback);
                        if (subscribers.size === 0) {
                            subscriberCache.delete(path);
                        }
                    }
                };
            }

            function useLocalState(initialValue) {
                let value = initialValue;
                const subscribers = new Set();

                const 