Package Exports
- @roots/bud-react
Readme
@roots/bud-react
Overview
Extends Bud with React support.
When run in development mode @pmmmwh/react-refresh-webpack-plugin provides hot module reloading.
Installation
yarn add @roots/bud-react --dev
Usage
bud.use('@roots/bud-react')Configuration
You may configure @pmmmwh/react-refresh-webpack-plugin by passing plugin options to bud.reactRefresh, which is registered by this package.
Default configuration:
bud.reactRefresh({
overlay: {
sockIntegration: 'whm',
},
})Contributing
Contributions are welcome from everyone.
We have contributing guidelines to help you get started.
Bud sponsors
Help support our open-source development efforts by becoming a patron.
Community
Keep track of development and community news.
- Participate on the Roots Discourse
- Follow @rootswp on Twitter
- Read and subscribe to the Roots Blog
- Subscribe to the Roots Newsletter
- Listen to the Roots Radio podcast