Introduces the synced metadata reducer which handles replace, remove, and remove all ops.
Depends on D11421
Differential D11422
[lib/native/web] introduce synced metadata reducer will on Mar 27 2024, 4:18 PM. Authored by Tags None Referenced Files
Details Introduces the synced metadata reducer which handles replace, remove, and remove all ops. Depends on D11421 Ran the following code: const onPressSave = React.useCallback(async () => { dispatch({ type: addSyncedMetadataEntryActionType, payload: { name: 'Test_1_name', data: 'Test_1_data', }, }); dispatch({ type: addSyncedMetadataEntryActionType, payload: { name: 'Test_2_name', data: 'Test_2_data', }, }); dispatch({ type: addSyncedMetadataEntryActionType, payload: { name: 'Test_1_name', data: 'Test_1_update', }, }); dispatch({ type: removeSyncedMetadataEntryActionType, payload: { name: 'Test_2_name', }, }); }, [dispatch]);
Diff Detail
Event TimelineComment Actions LGTM - requesting changes to address this blacklist comment because this is important
|