Sententiaregum / Sententiaregum

A social network based on Symfony3 and ReactJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

refactor form library to use the update addon

Ma27 opened this issue · comments

Description

rather than using a heavy-weight deep-assign algorithm, the update feature of react might be another, better solution, as it seems to be faster and is customized for state handling in components.

@benbieler will think about some ideas tonight, may work on this in 0.2...

anoterh thing to be fixed is to use this.setState(state => ({})) rather than reading from this.state in this case.

I think the we might close this since #353 is meant to rewrite as much code as possible in the frontend.