React Static Tweets
Extremely fast static renderer for tweets.
Install
Usage
The easiest way to get started is to render tweets client-side (which will fetch the tweet data on-the-fly).
For more optimized SSR usage, you'll want to pre-fetch the tweet AST data server-side:
Add pbs.twimg.com
to your next.config.js
since we use next/image
to load images.
Styles
You'll need to import some CSS styles as well. If you're using Next.js, we recommend you put these in pages/_app
: