Skip to content

Tag: reactjs

Get src of dropped image from event target

I have a list of images that i can drap and drop, when dragging starts on image i store it’s URL in a state like this: When dropping it i use that state URL to display the image: But I was wondering if I could use the event e produced by onDrop to get the URL of the image, without

How to update large JSON objects? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 months ago. Improve this question The server sends me a data as JSON to descripe a product. A product consists of properties …