Skip to content
public-library›Rules›React›Deduplicate per-request server work with cache

Deduplicate per-request server work with cache

Wrap server data functions that several components call during one request in React's cache, so each distinct call runs once per request.

In the full rule