You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[React 19] Update OSS package imports for consistency (#1944)
Why
Pro package uses named imports but OSS still used namespace imports,
creating inconsistency across the codebase.
Summary
Converts 3 OSS files from namespace imports (import * as React) to
named imports (createElement, isValidElement), matching Pro package
style and React 19 best practices.
Key improvements
- Eliminates React namespace references in favor of direct imports
- Improves tree-shaking by explicitly importing only what's used
- Achieves full codebase consistency between OSS and Pro packages
Impact
Existing: No changes - both import styles work identically
New: OSS package follows same pattern as Pro package
Risks
None. Import style change only, no runtime behavior differences.
0 commit comments