{"action":"closed","issue":{"url":"https://api.github.com/repos/fkhadra/react-toastify/issues/264","repository_url":"https://api.github.com/repos/fkhadra/react-toastify","labels_url":"https://api.github.com/repos/fkhadra/react-toastify/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/fkhadra/react-toastify/issues/264/comments","events_url":"https://api.github.com/repos/fkhadra/react-toastify/issues/264/events","html_url":"https://github.com/fkhadra/react-toastify/issues/264","id":372559669,"node_id":"MDU6SXNzdWUzNzI1NTk2Njk=","number":264,"title":"Cannot update toastId","user":{"login":"evansjohnson","id":14102129,"node_id":"MDQ6VXNlcjE0MTAyMTI5","avatar_url":"https://avatars0.githubusercontent.com/u/14102129?v=4","gravatar_id":"","url":"https://api.github.com/users/evansjohnson","html_url":"https://github.com/evansjohnson","followers_url":"https://api.github.com/users/evansjohnson/followers","following_url":"https://api.github.com/users/evansjohnson/following{/other_user}","gists_url":"https://api.github.com/users/evansjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/evansjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansjohnson/subscriptions","organizations_url":"https://api.github.com/users/evansjohnson/orgs","repos_url":"https://api.github.com/users/evansjohnson/repos","events_url":"https://api.github.com/users/evansjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/evansjohnson/received_events","type":"User","site_admin":false},"labels":[{"id":477598359,"node_id":"MDU6TGFiZWw0Nzc1OTgzNTk=","url":"https://api.github.com/repos/fkhadra/react-toastify/labels/feature","name":"feature","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":{"login":"evansjohnson","id":14102129,"node_id":"MDQ6VXNlcjE0MTAyMTI5","avatar_url":"https://avatars0.githubusercontent.com/u/14102129?v=4","gravatar_id":"","url":"https://api.github.com/users/evansjohnson","html_url":"https://github.com/evansjohnson","followers_url":"https://api.github.com/users/evansjohnson/followers","following_url":"https://api.github.com/users/evansjohnson/following{/other_user}","gists_url":"https://api.github.com/users/evansjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/evansjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansjohnson/subscriptions","organizations_url":"https://api.github.com/users/evansjohnson/orgs","repos_url":"https://api.github.com/users/evansjohnson/repos","events_url":"https://api.github.com/users/evansjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/evansjohnson/received_events","type":"User","site_admin":false},"assignees":[{"login":"evansjohnson","id":14102129,"node_id":"MDQ6VXNlcjE0MTAyMTI5","avatar_url":"https://avatars0.githubusercontent.com/u/14102129?v=4","gravatar_id":"","url":"https://api.github.com/users/evansjohnson","html_url":"https://github.com/evansjohnson","followers_url":"https://api.github.com/users/evansjohnson/followers","following_url":"https://api.github.com/users/evansjohnson/following{/other_user}","gists_url":"https://api.github.com/users/evansjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/evansjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansjohnson/subscriptions","organizations_url":"https://api.github.com/users/evansjohnson/orgs","repos_url":"https://api.github.com/users/evansjohnson/repos","events_url":"https://api.github.com/users/evansjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/evansjohnson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-10-22T15:05:01Z","updated_at":"2018-12-15T20:10:35Z","closed_at":"2018-12-15T20:10:35Z","author_association":"NONE","body":"I assume this is expected behavior but didn't see anything in the docs about not being able to update the toastId with the `toast.update` method.\r\n\r\nI am calling `update` and am seeing all the new options reflected, but when I call `isActive` with the new `toastId` I passed in I get `false`, and `true` for the old `toastId`.\r\n\r\nIn my use case I have 3 types of notifications that update sequentially and for other updating purposes it would help me if the `toastId` reflected the current updated state of the notification.\r\n\r\nI'm not sure if this would be a feasible refactor since I'm sure `toastId` is baked into the code everywhere but would love to hear your thoughts on this - perhaps I should be using a different pattern or you are aware of a simple way for me to support this outside the library.\r\n\r\nreproducer - open console to see output of `isActive`\r\nhttps://codesandbox.io/s/p3j839m9ym\r\n\r\nThanks!"}}
{"actor":{"display_login":"fkhadra"}}