[lib] Introduce aux user store reducer and action types
Summary:
Introduces the aux user store reducer and fid setter action type
Depends on D11511
Test Plan:
Ran the following code
const onPressSave = React.useCallback(async () => { dispatch({ type: setFarcasterFriendsFIDActionType, payload: { farcasterUsers: [ { userID: 'dispatch_test_userID_1', username: 'dispatch_test_username_1', farcasterID: 'dispatch_test_farcasterID_1', }, ], }, }); dispatch({ type: setFarcasterFriendsFIDActionType, payload: { farcasterUsers: [ { userID: 'dispatch_test_userID_2', username: 'dispatch_test_username_2', farcasterID: 'dispatch_test_farcasterID_3', }, ], }, }); dispatch({ type: setFarcasterFriendsFIDActionType, payload: { farcasterUsers: [ { userID: 'dispatch_test_userID_1', username: 'dispatch_test_username_1', farcasterID: 'dispatch_test_farcasterID_update', }, ], }, }); }, [dispatch]);
Reviewers: atul, ginsu, kamil
Reviewed By: atul
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11528