Implemented #75 for reactjs. The performance seems pretty acceptable.