is there advantage of using electric razor compare to the plain razor?

plain razor requires shaving cream which is a prohibit item for transport by plane. I am wondering if it is necessary to switch over to electric razor.