Skip to content

Inder2108/react-gridstack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make Gridstack work with Create React App based project (without any extra package)

The fix is simple:

1. Install dependencies of gridstack via npm

Refer package.json where gridstack is added as a dependency to the project

2. Import Gridstack in your component

Refer App.js, where Gridstack is being imported using import statements

3. Use useEffect hook to initialize Gridstack

Refer App.js, where the react hook "useEffect" is initializing GridStack for the DOM

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published