How to create component Dynamicly in 4.8?

Try. “NewObject”