hunk.code_window: } from "./ssr";
   import { ssr } from "./ssr";
   import { ssrSpread } from "./runtime";
   import { splitProps } from "./rendering";
   export function Dynamic<T>(props: T & { component?: Function | string; children?: any }) {
     const [p, others] = splitProps(props, ["component", "children"]);
     const comp = p.component,
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: export function Portal() { return ""; }
  
hunk.file_path: packages/solid/src/server/index.ts
hunk.type: add
file: export function pairwise<T>(): (v: () => T) => () => [T, T];
  export function pairwise<T>(input: () => T): () => [T, T];
  export function pairwise<T>(input?: any): any {
    return arguments.length === 0 ? pairwise : pairwise(input);
  
    function pairwise(input: () => T) {
      let prevValue: T;
      return () => {
        const value = input(),
          result = [prevValue, value];
        prevValue = value;
        return result;
      };
    }
  }
  