79455668

Date: 2025-02-20 19:51:36
Score: 2
Natty:
Report link

So I actually figured out a solution. The meta function takes certain parameters, and one of them is matches, and inside this matches parameter lies all sorts of information coming from the routes, and of those data points comes from the main layout route, which in my case is where the loaderData logic lies, so that data is available inside the array of objects return from the matches param natively available from meta.

Thanks for looking at this @Drew Reese!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Drew
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lushmoney