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

Written by krissanawat101 | Published 2020/01/04
Tech Story Tags: react-native | react | mobile-apps | tutorial | software-development | applications | programming | application | web-monetization

TLDR 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.via the TL;DR App

no story

Written by krissanawat101 | React native Developer ,Coffee addict
Published by HackerNoon on 2020/01/04