react-material-components-web
react-material-components-web copied to clipboard
[common] Possible conflict of adapter context
We always use adapterfor name of adapter context.
It can occur conflict of adapter when nesting different@react-material components.
<TextField>
<Input>
</Input>
<Checkbox>
<NativeControl ... />
...
<Input ... /> {/* This Input component will receive checkbox's adapter from the context */}
</Checkbox>
</TextField>
We may have to add prefix for each context names of components.
adapter -> textfieldAdapter