Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

TripLife. Squad 2#26

Open
GabyAlvarez wants to merge 56 commits into
Laboratoria:masterfrom
GabyAlvarez:master
Open

TripLife. Squad 2#26
GabyAlvarez wants to merge 56 commits into
Laboratoria:masterfrom
GabyAlvarez:master

Conversation

@GabyAlvarez

Copy link
Copy Markdown

No description provided.

ElizaFlores11 and others added 30 commits April 7, 2020 11:03

@HectorBlisS HectorBlisS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Código muy sólido y muy palpable el trabajo en equipo, aún puede modularizarse más separando siempre el DOM de la BD, bien los nombres de variables y funciones pero no tengan miedo a ser más especificas. eviten estilos con slector de id y la repetición de id puede generar errores inesperados.

Comment thread src/example.js Outdated
Comment thread src/index.js Outdated
Comment thread src/database.js Outdated
Comment thread src/facebook.js Outdated
Comment thread src/facebook.js Outdated
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
const database = firebase.database();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si se exporta, esta linea no se repite 😉

Comment thread src/createPost.js
});
}

export const renderPost = (userName, uid) =>{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bien el nombre de la función

Comment thread src/editPost.js Outdated
Comment thread src/editPost.js Outdated
Comment thread src/index.js Outdated
Comment thread src/myTrips.js
Comment on lines +52 to +53
<img id="${doc.id}" src='iconos/edit-tools.png' class='iconoedit' alt="EditPost" />
<img id="${doc.id}" src='iconos/interface.png' class='iconodelete' alt="DeletePost" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sólo debe existir un id único siempre.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants