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 { useEffect, useState } from "react"; | |
import "./styles.css"; | |
const TOTALTIME = 15000; | |
export default function App() { | |
const [loading, setLoading] = useState(true); | |
const [startDate, setStartDate] = useState(null); | |
function fetchApi() { | |
return "pending"; |
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
# Regular expressions allow you to locate and change | |
# strings in very powerful ways. | |
# They work in almost exactly the same way in every | |
# programming language as well. | |
# Regular Expressions (Regex) are used to | |
# 1. Search for a specific string in a large amount of data | |
# 2. Verify that a string has the proper format (Email, Phone #) | |
# 3. Find a string and replace it with another string | |
# 4. Format data into the proper form for importing for example |