Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi Power BI team, I'm using powerbi-client-react in an enterprise React application and would like to suggest a change to the
package's peerDependencies.
## Current Situation
The package specifies a strict React version in peerDependencies, which causes compatibility warnings/conflicts for projects not yet on React 18.
## Suggestion
Relax the peerDependency to support React 16+:
```json
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
}
Why This Makes Sense
1. No React 18-specific APIs: The powerbi-client-react component uses standard React patterns (hooks, refs, effects) that are fully compatible with React 16.8+ and React 17.
2. Enterprise Reality: Many large organizations have slower upgrade cycles due to stability requirements and extensive testing needs. React 17 is still widely used in production.
3. Industry Standard: Popular libraries like react-query, react-hook-form, and zustand use >=16.8 as their peer dependency to maximize compatibility.
4. Minimal Risk: This is a non-breaking change that simply allows more projects to use the package without warnings or workarounds.
Would the team consider this change? Happy to submit a PR if that would be helpful.
Thanks for the great library!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |