FirebaseComparison icon indicating copy to clipboard operation
FirebaseComparison copied to clipboard

This is a reference for translating current Firebase functionality into the new tree-shakeable functionality found in the new v9 beta

Firebase feature comparison (v8 to v9)

Last updated: 8/19/2021 at 2:28am

Follow me on Twitter @klutchdev

This is a reference for translating current Firebase functionality into the new tree-shakeable functionality found in the new v9 beta.

Documented features

  • [x] Analytics
    • [x] Log event
    • [x] Set user properties
    • [x] Measure eCommerce
  • [x] Authentication
    • [x] Sign in
      • [x] Email and password
      • [x] "Magic" email link
      • [x] Phone number
      • [x] Anonymous
      • [x] Providers
        • [x] Google
        • [x] Facebook
        • [x] Apple
        • [x] Twitter
        • [x] Github
        • [x] Microsoft
        • [x] Yahoo
      • [x] Sign out
    • [x] Auth state listener
    • [x] Update user
    • [x] Delete user
    • [x] Verify email
    • [x] Set email
    • [x] Reset password
    • [x] Set password
  • [x] Config
  • [x] Firestore
    • [x] Add/set a document
    • [x] Add/set a document w/ auto ID
    • [x] Merge/update a document
    • [x] Get a document
    • [x] Get a collection
    • [x] Listen to a document
    • [x] Listen to a collection
    • [x] Delete a document
    • [x] Server timestamp
    • [x] Array union
    • [x] Array remove
    • [x] Increment
    • [x] Batch operations
      • [x] Write
      • [x] Set
      • [x] Update
      • [x] Delete
      • [x] Commit
    • [x] Queries
      • [x] where
      • [x] orderBy
      • [x] limit
      • [x] array-contains
      • [x] startAt
      • [x] endAt
      • [x] query cursors
      • [x] pagination
  • [x] Functions
    • [x] Https callable
  • [x] React hooks
    • [x] useAuthState
    • [x] useFirebaseStorage
    • [x] useGetFirestoreDoc
  • [x] Initialization
  • [x] Messaging
    • [x] Get a registration token
    • [x] Foreground message
    • [x] Background message
  • [ ] Realtime database (80% completed)
    • [x] Write
    • [x] Read
    • [x] Read once
    • [ ] Update
    • [ ] Remove
  • [ ] Storage
    • [ ] Reference
    • [ ] Upload
      • [ ] Blob/file
      • [ ] Byte array
      • [ ] String
    • [ ] Tasks
    • [ ] Download
    • [ ] Delete
    • [ ] List

Quick example

Get/read a single Firestore document

Comparison example

Additional examples from Twitter

Part 1 - Initialization, imports and exports

Part 1

Part 2 - Basic auth features

Part 2

Part 3.1 - Get/read a single Firestore doc

Part 3.1