Open in app

Sign In

Write

Sign In

Kevin Valias
Kevin Valias

2 Followers

Home

About

Oct 27, 2020

The Genesis has just began- Thank you Austin Coding Academy#408

Explain the use cases for, and differences between — bind, apply and call. --call and apply are very similar—they invoke a function with a specified this context, and optional arguments. The only difference between call and apply is that call requires the arguments to be passed in one-by-one, and apply takes the arguments as an array. In this example, we’ll create an object…

Coding

7 min read

The Genesis has just began- Thank you Austin Coding Academy#408
The Genesis has just began- Thank you Austin Coding Academy#408
Coding

7 min read


Oct 27, 2020

I Think, I Thought, I Thunk#407

What is Redux Thunk used for? — By default, Redux’s actions are dispatched synchronously, which is a problem for any non-trivial app that needs to communicate with an external API or perform side effects. Redux also allows for middleware that sits between an action being dispatched and the action reaching the reducers. There are two very…

Coding

4 min read

Coding

4 min read


Oct 19, 2020

There can only be “One Single Source Of Truth”#406

Discuss in words something you learned in class today or this week. -Connect: Extracting Data with mapStateToProps -As the first argument passed in to connect, mapStateToProps is used for selecting the part of the data from the store that the connected component needs. It’s frequently referred to as just mapState for short. It is called every time the store state changes. It…

Coding

3 min read

Coding

3 min read


Oct 13, 2020

Shake things up with Redux#405

Discuss in words something you learned in class today or this week. -Protected Routes- component is the blueprint for all protected routes in the application. If the user is logged in, go on and display the component in question; otherwise, redirect the user to sign-in page. Additionally, we can define the logic of isLogin utility function separately in utils folder. What is Redux? -Redux is…

Coding

2 min read

Coding

2 min read


Oct 3, 2020

Wax on, Wax off #404

Discuss in words something you learned in class today or this week. — Cooookies!! This week we learned how to use cookies. Cookies are small bits of information that websites store on your browser. They are key-value pairs like objects but they only contain text. They help the browser make certain decisions using the content that’s been stored in these cookies. How does hoisting work in JavaScript?

Coding

3 min read

Coding

3 min read


Oct 3, 2020

I can’t wait to re-render my life! #403

Discuss in words something you learned in class today or this week. This week i learned about React Routers. React Routers is a function, that when called, returns its component its assigned to. An example is when a user is on their browser and they click on a “About” page, the user get routed to that specific page via its declared route…

Coding

2 min read

Coding

2 min read


Sep 30, 2020

“Build a React App” they said, “It will be FUN” they said!!

— So you want to build a React Application. Nice! React is a great way to build BIG and build FAST. React is a component-based library which is used to develop interactive UI’s (User Interfaces). It is currently one of the most popular JavaScript front-end libraries which has a strong…

Coding

9 min read

“Build a React App” they said, “It will be FUN” they said!!
“Build a React App” they said, “It will be FUN” they said!!
Coding

9 min read


Sep 27, 2020

Give React Developers a solid, ${props}#402

Discuss in words something you learned in class today or this week. — Global vs. Local State: The state is the current data that our app stores to control its behavior. ex. a checkbox stores data (boolean) if it’s on or off. Global means our state is accessible by every element/component of the app. But the important fact is that it pollutes…

Coding

4 min read

Coding

4 min read


Sep 23, 2020

Create-React-App#401

Discuss in words something you learned in class today or this week. — Today in class we learned the differences in why we use class based components and functional components. Class based components are used to set the stat of a component which is where most if not all functional components will be extended from. It’s a strategic approach to creating reusable…

Coding

3 min read

Coding

3 min read


Sep 14, 2020

Dear Diary, Crud my life#308

Can you explain the purpose of each type of HTTP Request when using a RESTful web service? — The verbs usually coincide with the well known CRUD functions. Create, Read, Update, Delete. The purpose of each of the HTTP request types, when used with a RESTful web service, is as follows: GET (read) Retrieves data from the server (should only retrieve data and should have no other effect). This…

Coding

4 min read

Dear Diary, Crud my life#308
Dear Diary, Crud my life#308
Coding

4 min read

Kevin Valias

Kevin Valias

2 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech