What is going on with new Google's Web 9 "Modular" syntax vs previous Web 8"Namespaced"

Viewed 24

so I wanted to ask why is Google's new Web ver 9 "Modular" syntax better than Web 8 "Namespaced" syntax?

I think it brings a lot of confusion right now seeing all the stuff getting changed at least in my eyes right now - and I really can't grasp the idea behind this change.

I specifically refer to this question firebase__webpack_imported_module_2__.auth.createuserwithemailandpassword is not a function.? , where in the comment section I ask specifically that.

Is the modularity really worth the fuss and also why is this syntax createUserWithEmailAndPassword(auth, email, password) (I assume it involves dependency injection) better than previous auth.createUserWithEmailAndPassword(email, password), and if so why? Thanks for answers ;x

1 Answers
Related