Package Exports
- @roots/bud-react
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@roots/bud-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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