Two Forms of Pre-rendering

2023-05-09 03:05:58 · 1 min read

标题1

标题2

标题三

正文

"use client";

import { useEffect } from "react";

export function Log({ infos }: { infos: any }) {
  useEffect(() => {
    console.log("log", infos);
  });
  return null;
}