making sure nothing runs with SSR

I've created an app with create-t3-app, it uses trpc and has two procedures that create a new entry in a firebase database and show all the entries respectively. I then use the usequery hooks to access them I also have the trpc ssr option disabled. so with that description is my app using SSR in any way? the reason I am asking is because I want to host on firebase hosting and you have to pay to use cloud functions so I can't do SSR at all
Solution:
I've created an app with create-t3-app, it uses trpc and has two procedures that create a new entry in a firebase database and show all the entries respectively. I then use the usequery hooks to access them I also have the trpc ssr option disabled. so with that description is my app using SSR in any way? the reason I am asking is because I want to host on firebase hosting and you have to pay to use cloud functions so I can't do SSR at all
Jump to solution
16 Replies
Neto
Neto2y ago
as long as the page does not export getServerSideProps it should not have any ssr you can also run a local build and check possible ssr pages
Neto
Neto2y ago
King Dice
King DiceOP2y ago
here's what I get, what does this mean?
Neto
Neto2y ago
check the icon on the start of (Route (pages) and the legend at the bottom
King Dice
King DiceOP2y ago
so there's SSR is what you're saying
Neto
Neto2y ago
both / and /404 are static only trpc route needs the server
King Dice
King DiceOP2y ago
well what can I do now is there a way to make trpc run on client
Neto
Neto2y ago
not host on firebase
King Dice
King DiceOP2y ago
that's the thing, I hosted on vercel and everything worked then my manager said I should do firebase wth was he thinking
Neto
Neto2y ago
yikes
King Dice
King DiceOP2y ago
he said I already used firestore for database so I should also use firebase for hsoting he says that doing vercel means that my app will be using 2 severs firebase + vercel and that's not efficient especially since vercel is AWS and firebase is google cloud
Neto
Neto2y ago
you can use ssr with firebase tho
King Dice
King DiceOP2y ago
Neto
Neto2y ago
just say to him you need ssr to use trpc with firebase and that is the end of the history
King Dice
King DiceOP2y ago
ok makes sense well thanks for the help
Want results from more Discord servers?
Add your server