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
Neto16mo 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
Neto16mo ago
King Dice
King Dice16mo ago
here's what I get, what does this mean?
Neto
Neto16mo ago
check the icon on the start of (Route (pages) and the legend at the bottom
King Dice
King Dice16mo ago
so there's SSR is what you're saying
Neto
Neto16mo ago
both / and /404 are static only trpc route needs the server
King Dice
King Dice16mo ago
well what can I do now is there a way to make trpc run on client
Neto
Neto16mo ago
not host on firebase
King Dice
King Dice16mo 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
Neto16mo ago
yikes
King Dice
King Dice16mo 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
Neto16mo ago
you can use ssr with firebase tho
King Dice
King Dice16mo ago
Neto
Neto16mo ago
just say to him you need ssr to use trpc with firebase and that is the end of the history
King Dice
King Dice16mo ago
ok makes sense well thanks for the help
Want results from more Discord servers?
Add your server