Towards light-controlled electronic components