I am using react-redux and am trying to access an object's key value. Initially "isBookmarked" value is false and after onClick using actions and then reducers it has been set to true.
Finally I am trying to console log the value as so:
{console.log("data[19].isBookmarked", data[19].isBookmarked)}
{console.log("data[19]", data[19])}
Responses differ although this is the same object:
These lines are sequential - they have nothing else between them and they execute one after the other.
I also tried console.log'ing via accessing key value as so - data[19]["isBookmarked"], but same response.
Here is the object i'm talking about as
{
      "id": 1373,
      "isBookmarked": true,
      "category": {
        "id": 5457
      },
      "owner": {
        "id": 63
      },
      "publishDate": "2017-07-25T12:11:13+03:00",
      "views": 0,
      "texts": [
        {
          "id": 1371,
          "text": "Lorem ipsum dolor sit amet",
          "languageCode": "en"
        }
      ],
      "files": []
}
