How to avoid react from referencing to the same object and instead create a new copy?

前端 未结 0 1953
谎友^
谎友^ 2021-01-05 03:02

I have a react class like this:

class TextDropDown extends Component {
    
    constructor(props)
    {
        super(props);

        this.DropDownElements          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题