Add provider component to context
Hi, is this an anti-pattern in Fresh?
Basically
It improves DX since user-land wont have to do this anymore. Will it be unique to each request? And if yes, how would you update
Basically
SomeProvider is attached to the ctx via middleware. Use-case is if you want to add server props coming from state. So instead of doing something like:It improves DX since user-land wont have to do this anymore. Will it be unique to each request? And if yes, how would you update
PageProps type?