Posts by Ed Girão • 94 points
4 posts
-
0
votes1
answer78
viewsA: Make a global useState variable in React
Hello, if you are not going to use Context or Redux I recommend that you change the backgroundColor directly on the sheet where the state is, for example: import { View , TouchableOpacity ,Text ,…
-
0
votes1
answer32
viewsA: Return a list of values present in select
One way to solve your problem would be to create a global array that would record all the numbers that have already been entered in select and then just need to check whether the number is already…
-
4
votes2
answers2161
viewsQ: How to delete a foreign key from Mysql
I’m having the same problem in every database. I have a database created with the following lines create database nova; create table estado( id int primary key auto_increment, nome varchar(20) );…
-
3
votes3
answers1433
viewsA: How to create list in Haskell
You just need to define that the lista you’ll get a list of some guy. Example: lista:: [a]->[a] lista a=a