IDbContextFactory vs dbcontext

Please advise which is better to be used in Blazor apps between IDbContextFactory or dbcontext.