Posts by Leonardo Luiz Gava • 3 points
2 posts
-
0
votes0
answers13
viewsQ: How to check if an array has values from another array?
Well, the problem is this, I have a function in which it requires a property permissions array type, inside the function, is a const perms = ['perm_1', 'perm_2', 'perm_3']. Let’s say the user has…
-
0
votes1
answer264
viewsQ: How to use setState in if Else
I need help using . setState() in if Else after render(), if possible... render() { const propsDesign = this.props.design, propsIcon = this.props.icon, propsText = this.props.text, propsDescription…