I think it's the aluminum compounds in anti-perspirants which are more of a concern (because they block pores and are absorbed intothe body (aluminum doesn't naturally occur in the human body).
Main reason not to apply deodorant after shaving is it will cause irritation...