Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Provides React configuration for the webpack module.
Dependencies
Installation
yarn add react react-dom @babel/preset-react
Example usage
module.libraries.yml
test:
webpack: true
js:
index.js: {}
index.js
import React from "react";
import ReactDOM from "react-dom";
class Greeting extends React.Component {
render() {
return (
<div>
{this.props.text}
</div>
);
}
}
ReactDOM.render(<Greeting text="Hi!" />, document.getElementById('page'));
Supporting organizations:
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - 42 sites report using this module
- Created by blazey on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
3.0.0
released 23 January 2024
Works with Drupal: ^9 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 3.x-dev updated 23 Jan 2024 at 15:02 UTC
8.x-1.0-alpha3
released 11 November 2020
Works with Drupal: ^8 || ^9
Install:
Development version: 8.x-1.x-dev updated 11 Nov 2020 at 23:56 UTC