It took nearly two months, a React Native project.

A pure RSS reader – BAO

The project is open source on Github and welcome to a star

1. The introduction of

  • About RSS: A Wired article
  • About the React Native
  • Original intention: (1) Extreme aversion to complex major news clients; (2) Like RSS” natural “, “algorithm independent” and other advantages; (3) Strong interest in using JavaScript to write cross-platform mobile applications

Function of 2.

  • Login/Registration
  • Subscribe/unsubscribe RSS feeds
  • Subject switch
  • The background automatically updates the RSS feed every 10 minutes

3. Major dependence

  • Redux: Redux is used globally to manage state
  • React-native -router-flux: indicates the route configuration
  • React-native storage: stores the theme configuration for persistent storage
  • React-native -render- HTML: The main component used in the article details page to convert all HTML elements into local UI views

4. The background

  • In order to speed up the development, this project uses the free data storage function and user system provided by LeanCloud
  • Also write nodeJS cloud functions on leanCloud, responsible for some project logic, such as regular update and other functions.

5. To summarize

  • It is highly recommended to use Redux for state management. It can be difficult to get started, but it will greatly reduce the complexity caused by multiple props and States and make the project code much clearer.
  • The development period coincided with the rise of Flutter and PWA, which inevitably caused a lot of discussions on React Native, with many negative comments. In my opinion, compared with Flutter, the biggest performance bottleneck of RN is to bridge the native view with javaScrip, which is difficult to overcome. However, this is also the biggest advantage of RN. The advantages of JavaScript language itself and the use of front-end technology stack to write mobile applications are great temptations.
  • Originally wanted to use Firebase, but firewall. With leanCloud, I have to say that there is a cost to learning, but this BaaS service is definitely the biggest benefit for small developers and greatly speeds up development.
  • The project is fully functional, although there are some minor bugs, we will follow up later. However, the free service of LeanCloud has limited daily API requests. Currently, it is only for personal use. I will try to migrate to Firebase when I have the chance.


My blog: http://mountaincity.me/

GitHub repo address:BAO

Welcome to a star