1. npx react-native init DIOmarketplace
2. yarn add eslint -D
yarn eslint --init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
age | gender | fruit | |
---|---|---|---|
20 | 1 | apple | |
23 | 1 | apple | |
25 | 1 | apple | |
26 | 1 | orange | |
29 | 1 | orange | |
30 | 1 | orange | |
31 | 1 | Watermelon | |
33 | 1 | Watermelon | |
37 | 1 | Watermelon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import styled, { css } from 'styled-components'; | |
import NextLink from 'next/link'; | |
const BASE_URL = 'http://alurakut.vercel.app/'; | |
const v = '1'; | |
function Link({ href, children, ...props }) { | |
return ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { commitMutation, graphql } from 'react-relay'; | |
import environment from '../../../../environment'; | |
const mutation = graphql` | |
mutation deleteNoteMutation($_id: ID) { | |
deleteNote(_id: $_id) | |
} | |
`; | |
function deleteNoteMutation(_id) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |