I am learning Firebase using angularjs. From this tutorial, https://thinkster.io/tutorials/angularfire-realtime-slack-clone/creating-the-channels-sidebar the code used to add a new chat is as follows
channels.$add(vm.newRoom).then(function (ref) {
However, when I run the application, this $ add operation successfully adds a new entry to the firebase table, but also causes the entire browser to freeze.
Angular version: 1.6.2 Firebase: 3.7.1 AngularFire: 2.1.0
This is a bug in Firebase 3.7.1. When I get back to Firebase 3.7.0, my code works and my browsers don't freeze. I reported an error for Firebase.
This has been recently fixed in Firebase 3.8.0. We recommend upgrading and not returning at the moment!
Source: https://habr.com/ru/post/1265344/More articles:Understanding auto-insertion: when can inline compiler methods using private variables and abstract methods? - performanceUncaught TypeError: FB.login is not a function - javascriptHow to execute a (secure) bash shell command in setup.py? - pythonGet #include header files after inclusion - c ++error: unknown type name 'FILE - cUse window object in angular2, but vscode "Cannot find window name - javascriptHow to understand typedef in this declaration - c ++angular 2 universal or optimization prerender.io for SEO - angularjsHow to call extension methods outside the class in which they are defined? - extension-methodsList of all subclasses of one class - reflectionAll Articles