Posts by Henri Cavalcante • 384 points
8 posts
-
3
votes2
answers180
viewsA: Click on a little sign of + and appear more inputs
HTML <button id="add"> + </button> <ul id="list"> </ul> Javascript var add = document.getElementById('add'); add.addEventListener('click', function(e) { var newInput =…
-
6
votes4
answers8429
viewsA: How to use template string in Javascript?
ES2015 already has its own template string structure, but while we don’t have compatibility across all browsers, you can use something like this: var data = { host: 'twitter.com', port: '80', user:…
-
5
votes1
answer646
viewsQ: Correct use of DOM with React.js
Knowing that Reactjs uses a virtual DOM where elements are processed into a DOM representation in memory so that all changes are made faster then it would be "wrong" to use findDOMNode to directly…
-
2
votes1
answer2456
viewsA: Update files after deploying to Heroku
Whenever you need to make a new deploy you have to push to Heroku exactly this way: $ git push heroku master always remembering to have added and committed what you want to push. the complete…
-
0
votes1
answer80
viewsA: About JAVA and Heidisql
Friend, Which database you are trying to use, even though SQL is there are several types of databases that use the SQL language? Heidisql is a program that will allow you to connect to a DBMS, that…
-
1
votes1
answer251
viewsA: How do I resolve this Cakephp issue on my Mac?
You tried to see if you had anything to do with permission? I could also try with MAMP instead of shampooing, I’ve had several problems with this guy there. https://www.mamp.info/en/…
-
8
votes1
answer1009
viewsQ: Functional Programming and Referential Transparency
Referential transparency assures me that given the same input values for a function, it will always give me the same return value. As I would have to do in the case of a function that accesses the…
-
0
votes3
answers1755
viewsA: How does the Flux architecture work?
Flux - The Facebook architecture for Frontend development What is? Flux is a software architecture that Facebook uses to build the front end of its applications. It complements React using its…