floppy-disk 2.2.0-beta.3 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -724,6 +724,7 @@ function SaveProduct() {
|
|
|
724
724
|
|
|
725
725
|
const { revert, invalidate } = useProductQuery.optimisticUpdate({
|
|
726
726
|
key: { id: payload.id },
|
|
727
|
+
response: payload,
|
|
727
728
|
});
|
|
728
729
|
|
|
729
730
|
mutate(payload).then(({ response, error }) => {
|
|
@@ -795,3 +796,11 @@ function PokemonsPage() {
|
|
|
795
796
|
return <div>...</div>;
|
|
796
797
|
}
|
|
797
798
|
```
|
|
799
|
+
|
|
800
|
+
<br>
|
|
801
|
+
|
|
802
|
+
---
|
|
803
|
+
|
|
804
|
+
<p align="center">
|
|
805
|
+
View official documentation on <a href="https://floppy-disk.vercel.app/">floppy-disk.vercel.app</a>
|
|
806
|
+
</p>
|