ibm-products icon indicating copy to clipboard operation
ibm-products copied to clipboard

React 19: `createContext` requires an argument

Open matthewgallo opened this issue 1 year ago • 2 comments

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 avatar May 01 '24 14:05 matthewgallo

@matthewgallo Have we added all the affected components, and is this ready for backlog?

elycheea avatar Jul 10 '24 15:07 elycheea

Yes it should be ready for backlog now. Sorry, I missed your comment here!

matthewgallo avatar Jul 24 '24 20:07 matthewgallo

I see this moved to Later but also a PR was opened. Was this completed?

ljcarot avatar Jan 09 '25 01:01 ljcarot