Skip to content

Instantly share code, notes, and snippets.

View rizkiramadhanx's full-sized avatar
🤯
Study Hard

oji rizkiramadhanx

🤯
Study Hard
View GitHub Profile
@jimode
jimode / context-and-localstorage-using-hooks.js
Last active June 10, 2024 11:16
Providing Context and Local Storage Using Hooks
// Providing Context
// ==================
import React, {useState, useEffect} from "react"
const Context = React.createContext()
function ContextProvider({children}) {
const [allPhotos, setAllPhotos] = useState([])
const [cartItems, setCartItems] = useState([])
@bmaupin
bmaupin / free-database-hosting.md
Last active June 29, 2024 17:31
Free database hosting