Use the tealbase JavaScript library in popular server-side rendering (SSR) frameworks.
github.com/tealbase/ssr
tealbase/ssr