hunk.code_window: const MetaProvider: Component<{ tags?: Array<TagDescription> }> = props => {
     const indices = new Map(),
       [state, setState] = createState<{ [k: string]: (string | null)[] }>({});
     onMount(() => {
       const ssrTags = document.head.querySelectorAll(`[data-rh=""]`);
       // `forEach` on `NodeList` is not supported in Googlebot, so use a workaround
       Array.prototype.forEach.call(ssrTags, (ssrTag: Node) => ssrTag.parentNode!.removeChild(ssrTag));
     });
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:     const ssrTags = document.head.querySelectorAll(`[data-sm=""]`);
  
hunk.file_path: packages/solid-meta/src/index.tsx
hunk.type: replace
file: import { createRoot, createSignal, createMemo } from "solid-js";
  import { reduceArray } from "../src";
  
  describe("Reduce operator", () => {
    test("simple addition", () => {
      createRoot(() => {
        const [s, set] = createSignal([1, 2, 3, 4]),
          r = createMemo(reduceArray(s, (m: number, v: number) => m + v, 0));
        expect(r()).toBe(10);
        set([3, 4, 5]);
        expect(r()).toBe(12);
      });
    });
  
    test("simple addition curried", () => {
      createRoot(() => {
        const [s, set] = createSignal([1, 2, 3, 4]),
          sum = reduceArray((m: number, v: number) => m + v, 0),
          r = createMemo(sum(s));
        expect(r()).toBe(10);
        set([3, 4, 5]);
        expect(r()).toBe(12);
      });
    });
  
    test("filter list", () => {
      createRoot(() => {
        const [s, set] = createSignal([1, 2, 3, 4]),
          filterOdd = reduceArray((m: number[], v: number) => (v % 2 ? [...m, v] : m), []),
          r = createMemo(filterOdd(s));
        expect(r()).toEqual([1, 3]);
        set([3, 4, 5]);
        expect(r()).toEqual([3, 5]);
      });
    });
  });
  