79537634

Date: 2025-03-27 01:41:28
Score: 0.5
Natty:
Report link

Storing state on the server is an antipattern. AsyncLocalStorage has its uses but can bloat your server pretty quick. Use after if you're doing post processing. Using a local global variable, ie a singleton, won't work either since nextjs runs multiple context at once.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: khuezy