Open
Description
I'm currently passing FnContext, which includes the user, userId, handleReq/Res, etc. It's wildly unruly. I should use the SST Hooks system to create a useContext
hook to be called in where necessary. We should also consider any other helpers from the SST clients to reduce existing boilerplate code.
The Hooks system doesn't have good documentation, so we'll need to look at their code to see how it's used. It should be easy, just no docs is all.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
ASAP