📌
Creators studio
  • Aitheon Creators Studio Overview
  • Quick Start
  • Your First App
  • Create Project
  • Compose App
  • Run on Device
  • Release App
  • Publish App
  • Main Elements
    • Home Page
    • Sandboxes Page
    • App Projects
      • Application Example
    • Flow
    • Marketplace
  • Main Components Use
  • Basics
  • Standard Components
    • common
    • function
    • network
    • dashboard
    • sequence
    • parser
  • Aitheon Components
  • Writing Functions Guide
  • New Component Creation Tutorial
    • New Component Guide Overview
    • Your First Component
    • General Requirements
    • config.json
    • component.js
    • component.html
      • Main Definitions
      • Properties Edit Dialog
      • Help Text
    • app-component.json
    • Additional TS
    • Vue.js for UI Components Creation
    • Configuration Components
    • Component Styling Guide
  • Terminology
    • Terminology
Powered by GitBook
On this page

Was this helpful?

  1. New Component Creation Tutorial

General Requirements

Follow these general principles to provide convenience and clearness for users.

Make components:

  • purpose focused. It`s better to create several components with clear properties for specific tasks than one general multitask component with confusing options;

  • simple to use. Provide clear naming, sufficient help explanations, avoid complexity;

  • prepared. The component must adequately handle all types of message properties data - boolean, number, string, buffer, object, array, or null;

  • predictable. Document and make the component to provide documented doings with message properties - the result must comply with the promises;

  • controlled. The component must catch errors or register error handlers for any asynchronous calls it makes, wherever possible.

PreviousYour First ComponentNextconfig.json

Last updated 4 years ago

Was this helpful?