0.1.4 • Published 6 years ago

quokka-plugin-sharp-pad-react v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

quokka-plugin-sharp-pad-react

In your quokka configuration, you need to specify the plugins in this order:

"plugins": [
  "quokka-plugin-sharp-pad-react",
  "quokka-plugin-sharp-pad"
]

Otherwise ReactDOM will complain about some prototype injections that the plugins do.

After you get it to run you are free to dump react components to your output. You do not need to put React in scope because the plugin already defines it as a global.

dump(<div>Hello World!</div>)
0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago