ibm-products
ibm-products copied to clipboard
React 19: `createContext` requires an argument
What will this achieve?
Similar to https://github.com/carbon-design-system/ibm-products/issues/5038, this issue is specific to updating all usage of createContext in order to become compatible with React 19.
### Components using `createContext` without an argument
- [x] `Coachmark/utils/context.js`
- [ ] `ConditionBuilder/ConditionBuilderContext/DataTreeContext.js`
- [x] `Datagrid/addons/Filtering/FilterProvider.js`
- [x] `Datagrid/addons/InlineEdit/InlineEditContext.js`
- [ ] `WebTerminal/hooks/index.js`
- [ ] `scripts/example-gallery-builder/update-example/templates/src/ThemeSelector/ThemeContext.jsx`
@matthewgallo Have we added all the affected components, and is this ready for backlog?
Yes it should be ready for backlog now. Sorry, I missed your comment here!
I see this moved to Later but also a PR was opened. Was this completed?