We demonstrate a new concept for reconfigurable nanophotonic devices exploiting ultrafast nonlinear control of shaped wavefronts in a multimode nanomaterial consisting of semiconductor nanowires.