kaicataldo / eleventy-plugin-react

A plugin that allows you to use React as a templating language for Eleventy
MIT License
38 stars 4 forks source link

docs: postProcess examples have wrong function signature #20

Closed dpfavand closed 3 years ago

dpfavand commented 3 years ago

In readme.md, the postProcess function examples use the signature postProcess(html, data).

However, the function's actual signature is postProcess({ html, data }).

I should be able to push an update for this.