MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / constructor

Function constructor

examples/00 Chessboard/Tutorial App/index.js:9–12  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

7 */
8export default class ChessboardTutorialApp extends Component {
9 constructor(props) {
10 super(props);
11 this.unobserve = observe(this.handleChange.bind(this));
12 }
13
14 handleChange(knightPosition) {
15 const nextState = { knightPosition };

Callers

nothing calls this directly

Calls 1

observeFunction · 0.90

Tested by

no test coverage detected