Skip to content

Instantly share code, notes, and snippets.

View jayeshcp's full-sized avatar
🏎️

Jayesh Chandrapal jayeshcp

🏎️
View GitHub Profile
@jayeshcp
jayeshcp / README.md
Last active June 20, 2021 00:41
Kafka - Docker Compose

Kafka - Docker Compose

Run docker container in shell

docker exec -it <container id> /bin/sh

Kafka Home

import React, { useState, useEffect } from 'react';
/* Custom hook */
function useAPIFetch(apiURL) {
const [loading, setLoading] = useState(true);
const [data, setData] = useState(null);
function fetchData() {
setLoading(true);
fetch(apiURL)
@jayeshcp
jayeshcp / Jest Cheatsheet.md
Created July 27, 2022 00:35
Jest Cheatsheet