Skip to content

Instantly share code, notes, and snippets.

View ferhatkorkmaz11's full-sized avatar

Ferhat Korkmaz ferhatkorkmaz11

View GitHub Profile
import React, { useEffect, useState } from 'react';
import { FlatList, SafeAreaView, Text } from 'react-native';
import PropTypes from 'prop-types';
export const fetchApiData = async route => {
try {
const response = await fetch("https://impact.task.io/wp-json/v2/" + route);
const json = await response.json();
return json;
@zenorocha
zenorocha / basic.md
Last active March 26, 2023 09:00
New Firebase Auth vs Old Firebase Auth