A React library for office-related utilities, currently at version 4.3.0. It provides helpers for forms, internationalization (with @lingui/core ^5), GraphQL integration (graphql ^16), and slug generation (slugify ^1). Built for React 19 with TypeScript types included. Release cadence appears active based on versioning. Differentiators include tight coupling with shop-helper-fns and rc-field-form, making it specific to a certain ecosystem. Test metadata suggests this is a test package.
npm install eg-office-helperNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows setup with EgOfficeProvider and useForm hook, including environment variable for API key.
Upgrade React to 19
Use `useForm` hook instead.
Install missing peer deps: npm install @lingui/core graphql rc-field-form react shop-helper-fns slugify
Run npm install eg-office-helper and ensure tsconfig.json includes 'moduleResolution': 'node'.
Run npm install react@19
Use named imports like import { useForm } from 'eg-office-helper'