ReactFire version 4 supports Firebase version 9. Firebase v9 introduces a new API that is more tree-shakeable, which should result in reduced bundle size and therefore faster page loads for your users!
ReactFire v3 -> v4 upgrade guide
Check out discussion #402 for more context.
ReactFire v3 source is available in the v3
branch.