How To Build WordPress Client App with React Native Part #11: Remove Bookmark Featureby@krissanawat101

How To Build WordPress Client App with React Native Part #11: Remove Bookmark Feature

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Build WordPress Client App with React Native Part #11: Remove Bookmark Feature
krissanawat  HackerNoon profile picture

@krissanawat101

krissanawat

React native Developer ,Coffee addict


Receive Stories from @krissanawat101

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!