Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 675 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 675 Bytes

👦🏻 davey-server

davey's server methods

CircleCI codecov npm (scoped)

Methods

renderToStaticMarkup

Like React's renderToStaticMarkup, takes a davey component and returns the resolved markup.

Try it out

yarn add davey davey-server

import { davey } from "davey";
import { renderToStaticMarkup } from "davey-server";

renderToStaticMarkup(<h1>Hello world!</h1>);