I have error from [bugsnag] Error: payload exceeded 1MB
This error appears when i click on Select element to select some option.
At first i though that this errors is comming from Redux where i take values from options.
But after a litle invistigation, i found out that error is comming from select.
When i try add options with map
const arr = [
{id: '1', name: 'one'},
{id: '2', name: 'two'},
{id: '3', name: 'three'},
{id: '4', name: 'four'}
]
<Select
>
{
arr.map( element => <Option key={element.id} value={element.name}/> )
}
</Select>
Maybe anyone knows how to do it in correct way ?