4.2.2 • Published 6 months ago
@gravityforms/react-utils v4.2.2
Gravity Forms React Utils
Custom React utilities for Gravity Forms development.
Installation
Install the module
npm install @gravityforms/react-utils --saveNote: This package requires node 20.10.0 or later, and npm 10.2.3 or later.
Overview
A collection of JavaScript utilities that we use in our React.
Usage
Example:
import { create } from '@gravityforms/react-utils';
const createZustandStore = ( data ) => {
const initialState = getConfig( config, 'gform_admin_config' ) || {};
const storeActions = ( set ) => ( {
closeDialog: () => set( () => ( { isOpen: false } ) ),
} );
const useStore = create( initialState, storeActions );
}Documentation
The documentation for this package is available at http://docs.js.gravity.com/
4.0.5
10 months ago
4.2.2
6 months ago
4.0.4
10 months ago
4.1.0
8 months ago
4.0.1
1 year ago
4.0.0
1 year ago
4.2.1
7 months ago
4.0.3
12 months ago
4.2.0
7 months ago
4.1.1
8 months ago
4.0.2
1 year ago
3.2.2
1 year ago
3.3.0
1 year ago
3.2.1
2 years ago
3.2.0
2 years ago
3.1.2
2 years ago
3.1.1
2 years ago
3.1.0
2 years ago
3.0.0
2 years ago
2.0.0
3 years ago
1.1.3
3 years ago
1.1.1
3 years ago
1.1.2
3 years ago
1.0.2
3 years ago
1.1.0
3 years ago
1.0.1
4 years ago