AA
useSelector()
uses strict ===
reference equality checks by default, not shallow equality (see the following section for more details).Size: a a a
Т
useSelector()
uses strict ===
reference equality checks by default, not shallow equality (see the following section for more details).PD
Т
S
PD
AA
selectSeatById = createCachedSelector(selectSeats,
(_, id) => id,
selectSeatGeometry,
(seats, id, geometry) => {
const seat = seats.byId[id];
return ({
available: isAvailable(seats.byId[id], seats.byId),
isCompanion: seats.byId[id].type === "companion",
...geometry,
...seat
})
})((seats, id) => id);
AA
S
as
АК
PD
AM
Т
as
АК
D
as
d
export const reducer = combineReducers({
psychologist: PSYCHOLOGIST.reducer,
offer: OFFER.reducer
});
Д