equal
deleted
inserted
replaced
229 |
229 |
230 state = transform.apply() |
230 state = transform.apply() |
231 this.setState({ state }) |
231 this.setState({ state }) |
232 } |
232 } |
233 |
233 |
234 /** |
234 // /** |
235 * |
235 // * |
236 * @param {*Cosntructor} props |
236 // * @param {*Cosntructor} props |
237 */ |
237 // */ |
238 componentWillMount() { |
238 // componentWillMount() { |
239 const initialValue = Raw.deserialize(initialState, { terse: true }); |
239 // const initialValue = Raw.deserialize(initialState, { terse: true }); |
240 this.state = { state: initialValue}; |
240 // this.state = { state: initialValue}; |
241 this.onChange(initialValue); |
241 // this.onChange(initialValue); |
242 } |
242 // } |
243 |
243 |
244 /** |
244 /** |
245 * Render. |
245 * Render. |
246 * |
246 * |
247 * @return {Element} |
247 * @return {Element} |