Croods is a React library that abstracts REST API data layers, providing a declarative component-based API for CRUD operations. The current stable version is 3.1.0. It requires axios, lodash, react, and react-dom as peer dependencies. Key differentiators include a simple Fetch component for GET requests, built-in state management, and TypeScript support. It is designed to reduce boilerplate code when integrating REST backends with React applications. npm: croods, GitHub: SeasonedSoftware/croods, docs: croods.netlify.com. Released on npm, last update 2021.
npm install croodsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of the Fetch component to GET a list of beagle images from an API and render them.
Migrate to v3 with Fetch component. See migration guide.
Ensure unique 'name' per unique resource unless sharing state is intended.
Always return the parsed data from parseResponse.
Install exact versions: npm install react@17.0.2 react-dom@17.0.2 axios@0.21.1 lodash@4.17.21
npm install croods --save
Ensure parseResponse returns the array, e.g., response.data.message
Use the hook inside a function component, not a class or regular function.