Skip to content

Conversation

@Dwlad90
Copy link

@Dwlad90 Dwlad90 commented Jul 24, 2024

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.

@changeset-bot
Copy link

changeset-bot bot commented Jul 24, 2024

🦋 Changeset detected

Latest commit: fcc1430

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-react-server-components Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@roginfarrer
Copy link
Owner

Interesting, this is new to me. I did a little bit of research and there's not much discussion about this topic. That gives me some pause about changing this plugin.

Here's a recent discussion about it in the next.js repo. It makes it sound like it might not work the same on the server as it does on the client (or perhaps there's better solutions on the server). vercel/next.js#68071 (reply in thread)

@Dwlad90 Dwlad90 marked this pull request as draft July 24, 2024 17:10
@Dwlad90 Dwlad90 marked this pull request as ready for review July 24, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants