HeyBinyang
← Back to moments

When I'm not too busy, I quietly read technical books. In the process, I feel...

When I'm not too busy, I quietly read technical books. In the process, I feel my comprehension increase. Areas I hadn't noticed or wasn't solid on get supplemented.

Step-by-step tutorials make it easy to focus and immerse yourself. Writing tutorials also requires a strong ability to break down and organize knowledge.

function Echo() {
  const params = useParams();
  const [searchParams] = useSearchParams();
  return <h1>{params.msg || searchParams.get("msg")}</h1>;
}
const param = "From Param";
const query = new URLSearchParams({ msg: "From Query" });

export default function App() {
  return (
    <section>
      <p>
      </p>
      <Link to={'echo/${param}'}>Echo param</Link>
       <p>
       </p>
    </section>
    <Link to={'echo?${query.toString()}'}>Echo query</Link>
  );
}

Share