Simple Tree component based on ReactJS
ReactJS
React Query
TypeScript
CSS Modules
npm run build
- building the appnpm run lint
- linting of the app. With addional param like:js
or:css
you can lint specific files.npm run start
- run dev server.
The data is getting by mocked request. After request the data will store in useTree
hook.
The main page has tree elements:
Search
- helps to find tree branch or node by title field.Id's
- allows to you find branch or node by Id.Tree
- full tree. There is also shows result of searching by id or title.