Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.12 KB

Shared UI

We use this directory for shareable code snippets, UI components, etc.

  • separate reusable and shareable code across different Determined UIs
  • leave build and transpliation to target projects
  • stepping stone for going to a solution such as packaging the components individually or separately using Bit or Node registry.
  • assume mostly similar build and dev environments:
    • lower overhead, faster start up, simpler, faster, and smaller builds
    • familiarity: no new code management tool to learn

Limitations:

  • shared dependencies between all the projects would need to have similar APIs
  • no pre-canned component-level versioning solution

Read more about the methodology and tradeoffs here

How

Code in this directory should not depend on internal dependencies that leave outside this directory

TODO

  • write down instructions for
    • sharing an existing module
    • creating & sharing a new module
    • best practices for structuring a component directory

Future Work

  • set up storybooks