If you don't like the solar panel, or want central control over all the lights, it would be better to hardwire them.
Our solar lights automatically turn on at dusk and off at dawn, so the solar option is usually not a concern for most customers.
If you don't want to call an electrician to install the lights, get the solar option.