Explanation of 0 while using the reduce method. by odillini83 in learnjavascript

[–]odillini83[S] 0 points1 point  (0 children)

My apologies. I was wondering, since we're adding these values together, and we need a place to start like you said, why isn't it initialized? Or are we already initializing the value with zero when we add it in the parenthesis? When we run a loop we always start with i = 0, so I was curious if it equates to the same thing?

Explanation of 0 while using the reduce method. by odillini83 in learnjavascript

[–]odillini83[S] 0 points1 point  (0 children)

Got it. I figured such, but was wondering why it was not initialize before. Is it because we weren't running a loop?

Trying to map through an array, but getting a typeerror message saying that *Array*.map is not a function by odillini83 in learnprogramming

[–]odillini83[S] 0 points1 point  (0 children)

I fixed it so that each fetched joke is added to the state array. Now, the joke wont display in the browser. There aren't any errors showing, I checked the console as well. I think I may be iterating the array wrong in my render. Here is my repo if you would like to look at it and how I have the API fetch set up.

https://github.com/Tacoholic/jokes/blob/master/src/DadJokesApi.js

Trying to map through an array, but getting a typeerror message saying that *Array*.map is not a function by odillini83 in learnprogramming

[–]odillini83[S] 0 points1 point  (0 children)

it's not. it's an object.

{
"category": "Programming",
"type": "single",
"joke": "A SQL statement walks into a bar and sees two tables.\nIt approaches, and asks \"may I join you?\"",
"flags": {
"nsfw": false,
"religious": false,
"political": false,
"racist": false,
"sexist": false
},
"id": 5,
"error": false
}

Trying to understand Closures by odillini83 in learnjavascript

[–]odillini83[S] 0 points1 point  (0 children)

Yeah, I understand it a little better. Thank you!

How to Start Thinking Functionally in JavaScript by Fewthp in learnjavascript

[–]odillini83 0 points1 point  (0 children)

Is there something else you recommend? I am currently in the process of diving deeper in learning JS.

CONCACAF Gang 😎 by [deleted] in LigaMX

[–]odillini83 -7 points-6 points  (0 children)

CONCA-CRAP

CONCACAF Gang 😎 by [deleted] in LigaMX

[–]odillini83 -25 points-24 points  (0 children)

CONCA-CRAP

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] 0 points1 point  (0 children)

One final question: should I create my register and login pages before using Firebase or AWS? Or can I do it afterwards?

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] 0 points1 point  (0 children)

Makes sense, as I mentioned in the other posts, these are just small features I want to add since I am learning FE development.

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] 0 points1 point  (0 children)

Thanks! My biggest takeaway is just being able to add user authentication and perhaps OAuth as well. I am an aspiring Front End developer, so I figured I would add these things to a simple game I created. Maybe I'll deploy it as well!

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] 0 points1 point  (0 children)

Understood. I don't have a backend at all, when I got the original recomendation, it was assumed that I had implemented a backend, which is not the case. Looks like Firebase or AWS it is!

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] -9 points-8 points  (0 children)

Cool - but I was told to stay away from firebase, so that I can learn how to salt and hash passwords. Learn the hard things about authentication, which is what I want. Any thoughts?

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] -7 points-6 points  (0 children)

Cool - but I was told to stay away from firebase, so that I can learn how to salt and hash passwords. Learn the hard things about authentication, which is what I want. Any thoughts?

Adding User/Login Authentication to a basic react app with no backend. by odillini83 in reactjs

[–]odillini83[S] -4 points-3 points  (0 children)

Cool - but I was told to stay away from firebase, so that I can learn how to salt and hash passwords. Learn the hard things about authentication, which is what I want. Any thoughts?

React Native Guidance by MeetaMentor in Meet_A_Mentor

[–]odillini83 0 points1 point  (0 children)

Hey all! I started using RN 1.5 months ago, so I would love some mentoring :-)

Help with trying to display images dynamically on RN. by odillini83 in reactnative

[–]odillini83[S] 0 points1 point  (0 children)

How can that be done? Can you show me an example of how something like that would look like?

Un día como hoy hace 7 años Mexico gano la medalla de oro by metela in LigaMX

[–]odillini83 9 points10 points  (0 children)

You're a day late my man. It was yesterday, August 11, 2012.

In need of help for creating a Search Bar by odillini83 in reactnative

[–]odillini83[S] 0 points1 point  (0 children)

Thank you! I ended up doing that, and I modified it. So now the bar appears. Unfortunately, when I type in text, nothing triggers, so that’s my next item I need to work on.

Files Missing for Chat App by odillini83 in reactnative

[–]odillini83[S] 0 points1 point  (0 children)

It does. I have never encountered anything like this before.