Functional Or Class Based Python Code

Hi everyone,

I was hoping to see what the community thinks about the topic above. I noticed a lot of projects from research use a more functional approach rather than using Class based code. Is best practice for streamlit to use functional based? I also noticed when setting up a multi page app theres a bit more configuration to display when using class based vs. functional.