#what does resetting a merge prop do?
1 messages · Page 1 of 1 (latest)
The merge feature allows you to combine the data coming from a response with the data already in the client props. Then, when you want to treat the new data from the request as the actual data—meaning you don’t want to merge but replace—that’s when you should use the reset parameter in the request. It lets you specify which parameters that are usually merged should instead be reset and replaced. Yiuay wonder when i should use it, like the use cases , well you take an example in refreshing a page or a list by a button, in this case you dont want the new data to be merged again, but you want the new data to replace all existing data in the props
ohh, so basically when it's called with reset so that merge prop will behave like a ordinary data prop?
Exactly
i see!!! thank you