I want to access the value of state/property in new state prop. Actually I have already state property where I am storing value of Item=5
and I create UrlParam
Where I am storing URL but I need Item
numeric value in URL property. I am new to React , Somebody please help me how to do this ?
I am not getting number value currently I am getting string. You may see in attachment .
Code
this.state={
Item : 5,
Skip:0,
urlParams:'http://localhost:3001/meetups?filter[limit]=Item&&filter[skip]=Skip'
}