So, I am new to NextJS and I understand, to some degree, the usages of getStaticProps, getServerSideProps etc... but, there are nuances of use cases that I am not wrapping my head around. I am hoping given the conditions below you could tell me what type of generation to use.
Product Page:
--- Most of it is retrieved by products ids and the data doesn't change much
--- there is some "dynamic content" but its minor. Like a % discount applied given some conditions?
which?
HomePage:
--- mostly all static.. ie reviews/ product info etc.. BUT
--- has a header (that shows on all pages) that shows users name IF they are logged in.
Which?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…