<EmployeeContext.Provider> value={addEmployee, DefaultData, sortedEmployees, deleteEmployee, updateEmployee} {props.children}; </EmployeeContext.Provider>aquí estoy teniendo un problema como se indica en el título. por favor alguien ayuda
Tal vez esté utilizando el EmployeeContext definido como tipo y no el devuelto por createContext() de esta manera:
const EmployeeContext = React.createContext(null);