Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

Introducing Watermelon DB: A new relational database to make your React and React Native apps highly scalable

Save for later
  • 2 min read
  • 11 Sep 2018

article-image

Now you can store your data in Watermelon! Yesterday, Nozbe released Watermelon DB v0.6.1-1, a new addition to the database world. It aims to help you build powerful React and React Native apps that scale to large number of records and remain fast.

Watermelon architecture is database-agnostic, making it cross-platform. It is a high-level layer for dealing with data, but can be plugged in to any underlying database, depending on platform needs.

Why choose Watermelon DB?


Watermelon DB is optimized for building React and React Native complex applications. Following are the factors that help in ensuring high speed of applications:

  • It makes your application highly scalable by using lazy loading, which means Watermelon DB loads data only when it is requested.
  • Most queries resolve in less than 1ms, even with 10,000 records, as all querying is done on SQLite database on a separate thread.
  • You can launch your app instantly irrespective of how much data you have.
  • Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at €18.99/month. Cancel anytime
  • It is supported on iOS, Android, and the web.
  • It is statically typed keeping Flow, a static type checker for JavaScript, in mind.
  • It is fast, asynchronous, multi-threaded, and highly cached. It is designed to be used with a synchronization engine to keep the local database up to date with a remote database.


Currently, Watermelon DB is in active development and cannot be used in production. Their roadmap states that, migrations will soon be added to allow the production use of Watermelon DB. Schema migrations is the mechanism by which you can add new tables and columns to the database in a backward-compatible way.

To know how you can install it and to try few examples, check out Watermelon DB on GitHub.

React Native 0.57 coming soon with new iOS WebViews

What’s in the upcoming SQLite 3.25.0 release: windows functions, better query optimizer and more

React 16.5.0 is now out with a new package for scheduling, support for DevTools, and more!