Socket
Socket
Sign inDemoInstall

@opennetwork/conventions

Package Overview
Dependencies
10
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opennetwork/conventions

##


Version published
Weekly downloads
3
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Conventions

UI

All visual state will be represented as jsx, this allows flexibility around the target runtime

export const Hello = <>
  <title>Hello!</title>
  <header>Hello!</header>
</>

UI Components can be defined using a function, this allows information to be serialized into a visual representation

export interface Article {
   content: unknown
   title: unknown
}

export function DisplayArticle(this: Article) {
  return <>
    <title>{this.title}</title>
    <article>
      <header>{this.title}</header>
      {this.content}
    </article>
  </>
}

FAQs

Last updated on 25 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc