Describe the bug
When using the new ServerSideRender component if you have a text control in the Inspector on each change event it sends a request to the Block API Endpoint without debouncing it. Also if one of your attributes is an array or an array of arrays or an array of objects it is not getting sent correctly to the REST API.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect that when using ServerSideRender request would get debounced. I would also expect that if you have an attribute with an array or an array of arrays or an array of objects that the ServerSideRender component would send the data correctly to the block API endpoint.
Screenshots


Desktop (please complete the following information):
Additional context
Also if one of your attributes is an array or an array of arrays or an array of objects it is not getting sent correctly to the REST API.
This is covered by #7086
This can cause server issues, especially with changing TextControls being passed to SSR (because those are likely to change in quick succession as you type). Sort of a mini-DDOS, most applicable if you're on bad hosting.
Use-case with RangeControl mentioned in #10168.
This can cause server issues, especially with changing TextControls being passed to SSR (because those are likely to change in quick succession as you type). Sort of a mini-DDOS, most applicable if you're on bad hosting.
Yeah, I saw this on a client project yesterday.
Picking this up.
Most helpful comment
Picking this up.