Introduces the aux user store reducer and fid setter action type
Depends on D11511
Differential D11528
[lib] Introduce aux user store reducer and action types Authored by will on Apr 3 2024, 1:57 AM.
Details Introduces the aux user store reducer and fid setter action type Depends on D11511 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]);
Diff Detail
Event Timeline
Comment Actions Overall looks good, just a few comments inline. Going to resign as reviewer so other reviewers can also take a look too
| ||||||||||||||||||||||