Posts by tpsilva • 241 points
7 posts
- 
		0 votes1 answer65 viewsA: How . populate searches the dataI did a bigger search, I used the flag debug from Mongoose and I saw that it basically makes the case 2. under the cloths. Then you better use the populate 
- 
		0 votes1 answer65 viewsQ: How . populate searches the dataI have a question about performance using Mongoose. Suppose the following models: const Disciplina = new Schema({ titulo: { type: String, } }) const Assunto = new Schema({ disciplina: { type:… 
- 
		3 votes2 answers3284 viewsA: Child component, return to parent REACT componentYou pass the function fechar from the modal into the <Cadastro>. Something like <Cadastro onSubmit={() => this.fechar()} /> From there in the register you invoke this function where… 
- 
		2 votes1 answer270 viewsA: React build vs (?) Webpack?First, what is the purpose of create-react-app? In the documentation: Create React apps with no build Configuration. Before the existence of create-react-app, you should implement your own build… 
- 
		1 votes1 answer81 viewsA: Angularjs Element duplicatingI do not know this morrisjs, but giving a search I found something that may help. Try to create a single chart and just update your data on each call. Something like this: var donut = Morris.Donut({… 
- 
		1 votes1 answer950 viewsA: Run function after loading page with AngularjsAccording to the documentation: $scope.$on('$viewContentLoaded', function(){ //Executar depois de carregado });… 
- 
		1 votes2 answers681 viewsA: Error in injection of angular module dependenciesYou are setting the app.services module twice. When you pass the dependency array, the angular creates a new module. Without the array, it takes an existing module. Try to remove the [] in the…