Dynamic roles of ion currents in early development