Skip to content

Instantly share code, notes, and snippets.

@LukasBombach

LukasBombach/page.jsx

Last active May 15, 2019
Embed
What would you like to do?
import { withHydration, HydrationData } from "pool-attendant-preact";
import Header from "@components/header";
import Content from "@components/content";
import TwitterFeed from "@components/twitterFeed";
import Poll from "@components/poll";
import SmallBox from "@components/smallBox";
import LargeBox from "@components/smallBox";
const HydratedTwitterFeed = withHydration(TwitterFeed);
const HydratedPoll = withHydration(Poll);
export default function Home() {
return (
<Layout>
<Header />
<Content />
<HydratedTwitterFeed />
<HydratedPoll />
<SmallBox />
<LargeBox />
<HydrationData />
</Layout>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment