The initial list of todos are not being persisted to the state
dinukadesilva opened this issue · comments
Dinuka De Silva commented
Actually, since init method does changes to the state, this init method has to be called in componentDidMount
and init method has to be binded to the component too. Otherwise, the changes happen to the state are not being persisted.