Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

useContext

import { createContext } from 'react';
const Context = createContext('Default Value');
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #useContext
ADD COMMENT
Topic
Name
1+7 =