three request on init
See original GitHub issueI’m submitting a … (check one with “x”)
[ x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
Current behavior when app inits it sends three request for one json file Expected/desired behavior it should send one
Reproduction of the problem
Please tell us about your environment:
-
ng2-translate version: 5.0.0
-
Angular version: 2.3.1
-
Browser: [all ]
-
Language: [ TypeScript ]
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:21 (3 by maintainers)
Top Results From Across the Web
Elm Http Request on Init - Stack Overflow
When you use Html.program, your init function returns the initial data for your Model and Command to be executed. Commands are side-effects, like...
Read more >Multiple Init Requests - SAP Community
Hello Experts I have a scenario where i have to load data into two different targets with one infosource. I am loading the...
Read more >telinit or init Command - IBM
The init command initializes and controls processes. Its primary role is to start processes based on records read from the /etc/inittab file. The...
Read more >Command: init | Terraform - HashiCorp Developer
The terraform init command initializes a working directory containing ... or in a third-party provider registry, terraform init will automatically find, ...
Read more >fetch() - Web APIs | MDN
The promise resolves to the Response object representing the response to your request. A fetch() promise only rejects when a network error is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is the fix for this to only allow one request to me made a time? I’m happy to work on a PR for this if that is an approach you want to take.
Or is the user just supposed to know not to call use and setDefaultLang for the same lang at the same time and this can be closed?
@ocombe would you please make a plunker ? at the moment this plunker is sending 2 requests for en.json