{"action":"created","issue":{"url":"https://api.github.com/repos/moreartyjs/moreartyjs/issues/93","labels_url":"https://api.github.com/repos/moreartyjs/moreartyjs/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/moreartyjs/moreartyjs/issues/93/comments","events_url":"https://api.github.com/repos/moreartyjs/moreartyjs/issues/93/events","html_url":"https://github.com/moreartyjs/moreartyjs/issues/93","id":94567293,"number":93,"title":"Observed property change doesn't trigger rerender","user":{"login":"eguneys","id":3844764,"avatar_url":"https://avatars.githubusercontent.com/u/3844764?v=3","gravatar_id":"","url":"https://api.github.com/users/eguneys","html_url":"https://github.com/eguneys","followers_url":"https://api.github.com/users/eguneys/followers","following_url":"https://api.github.com/users/eguneys/following{/other_user}","gists_url":"https://api.github.com/users/eguneys/gists{/gist_id}","starred_url":"https://api.github.com/users/eguneys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eguneys/subscriptions","organizations_url":"https://api.github.com/users/eguneys/orgs","repos_url":"https://api.github.com/users/eguneys/repos","events_url":"https://api.github.com/users/eguneys/events{/privacy}","received_events_url":"https://api.github.com/users/eguneys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-12T14:03:50Z","updated_at":"2015-07-12T15:17:45Z","closed_at":null,"body":"I use react-dnd and I have a droptarget component:\r\n\r\n```\r\n\r\nconst stoneTarget = {\r\n  drop() {\r\n    console.log('dropped');\r\n  },\r\n  // this triggers everytime the dragged item is on drop target\r\n  hover(props, monitor, component) {\r\n\r\n    const delta = {\r\n      x: Math.random(),\r\n      y: Math.random()\r\n    };\r\n\r\n    const overPositionBinding = visualStore.bindings.isOverDiscardMiniBox;\r\n\r\n    // I set the data everytime the item is being dragged\r\n    overPositionBinding.update(function(immutableValue) {\r\n      return immutableValue.set('position', delta);\r\n    });\r\n\r\n  }\r\n};\r\n\r\n@DropTarget(ItemTypes.STONE, stoneTarget, collect)\r\nclass DiscardMiniBoxSequenceArea extends React.Component {\r\n  mixins: [Morearty.Mixin]\r\n\r\n  componentDidMount() {\r\n    // If I add this change listener it is called repeatedly on hover, so this works\r\n    visualStore.bindings.isOverDiscardMiniBox.addListener(function(changes) {\r\n      console.log(Math.random())\r\n    });\r\n  }\r\n\r\n  observedBindings: [gameStore.bindings.discardMiniBoxSequence,\r\n  visualStore.bindings.isOverDiscardMiniBox]\r\n\r\n  render() {\r\n     // however render is not called\r\n  }\r\n\r\n});\r\n```\r\n\r\nWhen I drag the item over drop target, it calls the `hover` function and I set a binding inside it.\r\n\r\nI expect it to cause a rerender but it doesn't render. \r\n\r\nHowever if I explicitly add a change listener it is called."},"comment":{"url":"https://api.github.com/repos/moreartyjs/moreartyjs/issues/comments/120729824","html_url":"https://github.com/moreartyjs/moreartyjs/issues/93#issuecomment-120729824","issue_url":"https://api.github.com/repos/moreartyjs/moreartyjs/issues/93","id":120729824,"user":{"login":"eguneys","id":3844764,"avatar_url":"https://avatars.githubusercontent.com/u/3844764?v=3","gravatar_id":"","url":"https://api.github.com/users/eguneys","html_url":"https://github.com/eguneys","followers_url":"https://api.github.com/users/eguneys/followers","following_url":"https://api.github.com/users/eguneys/following{/other_user}","gists_url":"https://api.github.com/users/eguneys/gists{/gist_id}","starred_url":"https://api.github.com/users/eguneys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eguneys/subscriptions","organizations_url":"https://api.github.com/users/eguneys/orgs","repos_url":"https://api.github.com/users/eguneys/repos","events_url":"https://api.github.com/users/eguneys/events{/privacy}","received_events_url":"https://api.github.com/users/eguneys/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T15:17:45Z","updated_at":"2015-07-12T15:17:45Z","body":"I am using [observed bindings](https://github.com/moreartyjs/moreartyjs/wiki/Authoring%20components#using-observed-bindings), I don't use any props do I have to use them?"}}