Last active
May 21, 2025 09:57
-
-
Save panayi/fdc76e506b5ba7e821b27e6d4e2ef093 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Q1: A status is either 'running', 'completed', or 'failed' | |
// What is the type? | |
// Q2 | |
type valueA = any; | |
type valueB = unknown; | |
type valueC = never; | |
// Q3 | |
useEffect(() => { | |
fetchData(); | |
}, [filters]); | |
// Q4 | |
// title: string or a function returning a string | |
interface ComponentProps { | |
title: /* your code here */; | |
} | |
// How to render the title in JSX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment