Posts by Victor • 583 points
19 posts
-
0
votes0
answers78
viewsQ: Test functions with Jest and Enzyme?
How can I test this function with Jest and Enzyme? addProducts = id => { toast.success("Product added", { position: toast.POSITION.TOP_RIGHT }); history.push(`/product/${id}`); }; I was using…
-
0
votes1
answer87
viewsQ: How to limit tag insertion with React Select
I’m using React Select to work with input tags. By inserting something into the input and pressing enter, the tag is inserted... The point is that I could not find anything related to limitations of…
-
1
votes2
answers38
viewsA: Setting menu abruptly
With the code below you can do the fixed menu when scrolling in a very simple way. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width,…
-
1
votes1
answer47
viewsA: What is the difference between 'CSS Filter Effects' and 'CSS filter() Function'?
Filter Effects: Filter Effects is a way to process the rendering of an element before it is displayed in the document. Typically, rendering an element via CSS or SVG can be described as if the…
-
5
votes1
answer584
viewsA: What types of authentications are supported by HTTP?
Basic: Basic Authentication is the most common authentication system of the HTTP protocol. It is included in the HTTP request header in this way: Authorization: Basic {credenciais em base 64 no…
-
2
votes2
answers79
viewsA: Use user, email or one of the two for authentication?
For a better user experience, it would be interesting for the person to access the system with both. Email and user! I’m just saying that for accessibility. When working only with user and password,…
-
1
votes1
answer3403
viewsA: error while running run-android with React-Native
The React Native configuration is full of nuances. For this reason, I recommend redoing the settings again using the React Native documentation itself. Follow the documentation link:…
-
-1
votes1
answer57
viewsA: Increment of the Hooks in the React
When the Hooks arrived, I was a little confused about the motivations for a Feature that would change a lot the way we use React, and that link was the watershed to really understand how to use the…
-
3
votes2
answers4130
viewsA: Run React Native application on a Windows PC iphone
Speak mine, it is possible yes. I will answer your question and talk about other ways to emulate iOS. One of them would be to rent a mac in the cloud. There are several companies that work in this…
-
1
votes2
answers373
viewsA: How do I redirect my form to another page?
Speak up, man, all right? I attached the code to Github to make your life easier (https://github.com/victorhermes/RedirecionarUser/blob/master/index.html). And it follows the gif below the running…
-
4
votes2
answers338
viewsA: Problem with React and Redux
Alex, okay? Dude, I made the code and attached it to Github to make your life easier. This is the link (https://github.com/victorhermes/SomarNumerosReact) A tip that I give you when developing, is…
-
3
votes1
answer401
viewsQ: Empty input after submitting form
Hello, I am developing a login system, but I would like to improve something. When I register a user, and type his name, address, etc., and request the form, he returns all empty inputs. As in the…
-
1
votes1
answer389
viewsA: Post something on my website and post automatically on facebook
I’ve been researching and all this works via API. API is a set of routines and programming standards for access to a web-based software application or platform. The acronym API refers to the English…
-
5
votes1
answer322
viewsQ: Error rendering with jQuery Ajax
Quick information on how this code should work: Ajax takes an html, compiles with Handlebars, the same ajax takes a json from an api, packages everything and renders an index with an append. var…
-
2
votes1
answer28
viewsQ: Ajax, HJS and Mustache
I don’t like writing HTML in Ajax, like this... var orderTemplate = "" + "<li data-id='{{_id}}'" + "<p><strong>Nome:</strong> <span class='noedit nome'>{{ nome…
-
-4
votes1
answer87
viewsQ: Is there any way to write this code in a more didactic way?
Basically the code loops through the database for posts, but it will only post if the scheduled date is less or equal to the current date. He searches the bank for all posts and lists, but those…
-
3
votes1
answer389
viewsQ: Post something on my website and post automatically on facebook
Good afternoon, I have a question I’m wondering. I saw in a system something very interesting that is when the person publishes some content on her site, there is a button that you select to publish…
-
1
votes3
answers67
viewsQ: How Wordpress updates are made
Hello, I am researching Wordpress related issues, and I looked for something that I was stuck. How are made the wordpress updates being that it gets installed on our server. That is, I lower the…
-
1
votes1
answer55
viewsQ: Is there a way to use a Mysql table when developing an app with Ionic and Cordova?
I wonder if there is a way, because I am developing a simple project that uses only a database.