-
Notifications
You must be signed in to change notification settings - Fork 20
Conflicting tag names for firebase v2/v3 elements #7
Comments
Use using multiple versions of the API recommended? That sounds like a bad On Wed, Jun 22, 2016, 10:05 AM Jacob MacDonald [email protected]
|
This applies across the entire app, not just an individual component or package. It means that anybody upgrading from v2 has to migrate their whole app at once to v3, including all your dependencies. Elements are supposed to play nicely together and having conflicting tag names fundamentally goes against that. In this case my guess is it doesn't matter in practice, because generally firebase is used at the top level of the app somewhere, and then the models from that are propagated down to other components. Thus, your dependencies don't typically use firebase directly so conflicts are a non-issue, or at least in small/medium sized projects. Imo, it makes sense for these types of elements to put the major api version as part of the tag name (firebase-auth-v3 for instance). |
This is precisely why the elements were released under a different organization. If users chose to use FB v3, they go to another place to get those elements. |
The issue I was pointing out though is that both elements are provided as part of this bundle. Maybe that is an argument against the bundle rules in general? |
Both the v2 and v3 firebase collections contain elements using the tags
firebase-auth
andfirebase-document
. This makes composing together multiple elements which use different firebase api versions impossible.The text was updated successfully, but these errors were encountered: