The useMemo hook is allowed for use in RSC, although this is not written in the official documentation. An example of using this hook in RSC can be found here.
useMemo