MyJackfruit

Help
Browse topics · For developers

For developers

← For developers

What is a code unit?

Checked against GilbApp 96968de.

A code unit is a ready piece of app code, such as a card or picker, kept in its own folder for apps to reuse.

Each unit has one reference document in the GilbPlatformCode Library, with what it does, its GitHub folder, the commit and its package. It is a copy you take into your app, not a service your app calls. Example: units/value-card, the whole Value card, tagged t:Value.card

Deeper

Source: Rule_Code_gilbplatformcode-chooser-search (A 06gjdq7m01y1sc3qrfevnpy5rc, 2026-11-11): "Each library holds one reference document per reusable unit of code ... Its exhibit says what the unit does and gives the GitHub folder, the commit, the package and the clone address. The code stays on GitHub."; KaiGilb/GilbPlatformCode 7a40fd01 (head of main, public, read with gh api 2026-11-11) README.md:13 (React and TypeScript units for apps), units/value-card/README.md:3; public read 2026-11-11 of https://appbuilder.gilb.com/lws/referencedocument/<id>/exhibits (unitTag t:Value.card). GilbVeda: no term (public read https://veda.gilb.com/base/terms?q=CodeUnit 2026-11-11: 4 hits, none a unit of code); concept to mint.