Request for advice on stack

hi guys, i am a bit confused on which stack to choose, here are the options I could come up with after research: shakapacker + esbuild-loader + react + ror shakapacker + esbuild-loader + solid + ror ror api + nextjs

since next has many features which could be hard to replicate individually, i am considering 3rd option but then i wont get solid overall i want nice app speed + development speed + scalability + memory optimizaition but i m also skeptical about ror api + nextjs i am not sure if the api calls would be a problem like speed etc. (overhead?) i m going to deploy both fe & be on same server though but still i m not sureā€¦