# Arrow Functions - questions

**URL:** https://forum.codewithmosh.com/t/arrow-functions-questions/4051
**Category:** React
**Created:** [April 11, 2021, 4:03pm UTC](https://forum.codewithmosh.com/t/arrow-functions-questions/4051 "2021-04-11T16:03:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ksinghcodes](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@ksinghcodes](https://forum.codewithmosh.com/u/ksinghcodes)
#### Post date: [April 11, 2021, 4:03pm UTC](https://forum.codewithmosh.com/t/arrow-functions-questions/4051/1 "2021-04-11T16:03:53Z")

</div>

I posted this in the React Native section as thats the course I’ve been going through. But incase someone here can help faster.

Can someone explain to me the purposes of arrow functions . I kind of understand it as replacing this.props ? I dont understand yet why and when I am supposed to use arrow functions.  
Additionally how do I know if im using an empty set of parenthesis or a variable ex - () =\> … or message =\> …

---

<div class="post-metadata">

### Author: ![Kodertian](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/kodertian/32/1351_2.png) [@Kodertian](https://forum.codewithmosh.com/u/Kodertian)
#### Post date: [April 12, 2021, 12:58am UTC](https://forum.codewithmosh.com/t/arrow-functions-questions/4051/2 "2021-04-12T00:58:56Z")

</div>

The way I see, your problem is not particularly related to either React or React Native, but more with Javascript basics. In sum, Arrow Functions doesn’t replace normal functions and as you see from the examples it inherits the **this** from the object. But in order to better understand it, search for: scope, hoisting, functional programming & arrow functions of course.
