Error if 'persistent' keyword is not used + core library

hi, i wanted to know that as of my last two months working on motoko
if we do not write persistent keyword with actor ,we get this error ,
i searched a lot but could not find updated docs telling bout this
i feel it’s good to have orthogonal persistence by making all variables as stable but what if sometimes we wanted temporary values /storage?

I wanted to know that i feel core library usage much better coz with core library of motoko we don’t have to write preupgrade and postupgrade code but base library is still present .
I feel base be not used since mixing core and base data structures in code gives more errors.
I wanna know the best practices of motoko of now !