@trackunit/react-graphql-tools
v0.0.96
Published
## Basic Usage This tool allows you to generate React Hooks for your GraphQL files. Just add this executor to the project with *.graphql files, then it creates React hooks.
Downloads
310
Keywords
Readme
Trackunit React GraphQL tools
Basic Usage
This tool allows you to generate React Hooks for your GraphQL files. Just add this executor to the project with *.graphql files, then it creates React hooks.
In the project.json targets add:
"graphql-hooks": {
"executor": "@trackunit/react-graphql-tools:createHooks"
},
then run it with:
nx run <your project>:graphql-hooks
It will create ts file in the src folder for the project
<your project>/src/generated/graphql-api.tsx
- It is recommended you add **/generated/graphql-api.tsx to your .gitignore file
Trackunit Iris Apps
Trackunit Iris Apps are used by external developers to integrate custom functionality into the Trackunit Manager platform.
For more info and a full guide on Iris App SDK Development, please visit our Developer Hub.
Trackunit
This package was developed by Trackunit ApS. Trackunit is the leading SaaS-based IoT solution for the construction industry, offering an ecosystem of hardware, fleet management software & telematics.