Posts by Rodolpho • 75 points
5 posts
- 
		2 votes1 answer900 viewsQ: Using model.find() with LIKE in MongooseI have a function here to do a search on Mongodb using Mongoose, but I would like him to find Brazil when I searched for bra, Bra, Sil, Sil, etc. I looked in the documentation and followed the… 
- 
		0 votes1 answer52 viewsA: Sort followed by map not working in ReactI managed to solve the problem! Not all objects being ordered had the order property, hence the "bugava" Sort and did not change the array. Adding a value (0) to all worked 
- 
		0 votes1 answer52 viewsQ: Sort followed by map not working in ReactI have an array of objects and am trying to iterate with the map in that array after the method of sort, but it is iterating in the normal array, disregarding the method sort and the reordering.… 
- 
		3 votes1 answer316 viewsQ: Error trying to access an object property in an React componentI’m having a problem accessing information from an array that has an object inside, using React. This is the function that brings my json and changes the state of the application, it creates a… 
- 
		2 votes1 answer27528 viewsQ: Calling Javascript function with onclick with content loaded from divI have a div that has its contents loaded after loading the rest of the page. It is called by a button via AJAX. I have another button inside that content that would call a Javascript function to…