Too Long; Didn't Read
We are going to show the bookmarked articles in the SinglePost screen in the Bookmark.js file. We need to use a function called removeBookMark to remove the bookmark from the articles. We are also going to use the function renderBookMark and fetch Bookmark posts from the server. We have already set up the navigation to Bookmark screen in our bottom tab navigator. But, when we switch tab, we will see that the componentDidDidMount doesn’t fire. This not good because the bookmark can update every time. Without refreshing the screen, the bookmark posts will not update.