Files
react/packages/shared
Lauren Tan f838bdf0b7 [crud] Merge useResourceEffect into useEffect
Merges the useResourceEffect API into useEffect while keeping the underlying implementation the same. useResourceEffect will be removed in the next diff.

To fork between behavior we rely on a `typeof` check for the updater or destroy function in addition to the CRUD feature flag. This does now have to be checked every time (instead of inlined statically like before due to them being different hooks) which will incur some non-zero amount (possibly negligble) of overhead for every effect.
2025-01-23 16:55:38 -05:00
..
2017-10-25 02:55:00 +03:00