WatermelonDB v0.12.0 Release Notes

Release Date: 2019-03-18 // about 5 years ago
  • โž• Added

    • [Hooks] new useDatabase hook for consuming the Database Context: js import { useDatabase } from '@nozbe/watermelondb/hooks'; const Component = () => { const database = useDatabase(); }
    • [TypeScript] added .d.ts files. Please note: TypeScript definitions are currently incomplete and should be used as a guide only. PRs for improvements would be greatly appreciated!

    ๐ŸŽ Performance

    • ๐Ÿ‘Œ Improved UI performance by consolidating multiple observation emissions into a single per-collection batch emission when doing batch changes