How does cdk-nextjs compare with SST #172
Replies: 2 comments
-
@revmischa can chime in. We had this discussion on the |
Beta Was this translation helpful? Give feedback.
-
I was imagining that after open-next was created, this construct could make use of it and then SST would use cdk-nextjs. Then people could use open-next if they don't use CDK, they could use cdk-nextjs if they don't use SST, or they could use SST. While Frank and SST have generously built and provided open-next to the community, they understandably are more concerned right now with applying it to SST and not CDK users at large, so open-next is directly used by SST at this point in time. So our options are to maintain this construct for users of CDK who do not use SST, suggest to anyone that wants to use NextJS with CDK to avail themselves of SST as Mr. @khuezy has taken it upon himself to do, or rewrite this construct to make use of open-next. Since open-next is still being worked on (my understanding is that next-auth doesn't work with it at present) I am continuing to use cdk-nextjs, but as I am an avid SST user I will probably switch to SST's If there is interest is using CDK with NextJS without using SST then this module could be useful to some people. Ideally someone would rewrite it to use open-next for building. I am not especially inclined to do this myself. |
Beta Was this translation helpful? Give feedback.
-
I've seen multiple comments from one of the main contributors @khuezy recommending the SST library with open-next. In my eyes that is a competing library that shares the same responsiblities as cdk-nextjs, so it makes me wonder if you're planning to deprecate this one in favour of SST. Or do you foresee any situation where using cdk-nextjs is preferrable?
I'm about to start the migration from Vercel to AWS, and would appreciate any guidance in deciding which library to choose.
Beta Was this translation helpful? Give feedback.
All reactions