edge-city

#react#js#ssr

git clone https://git.pyrossh.dev/edge-city

edge-city is a next level meta-framework for react that runs only on edge runtimes


example/src/components/Layout/Layout.jsx
import React from "react";
import Link from "edge-city/link";
import "./Layout.css";

const Layout = ({ children }) => {
  return (
    <div className="layout">
      <div className="sidebar">
        <Link href="/">Home</Link>
        <Link href="/about">About us</Link>
        <Link href="/todos">Todos</Link>
      </div>
      <div className="content">{children}</div>
    </div>
  );
};

export default Layout;