@gudhub/gh-component-legacy

1.4.7 • Public • Published

README

Components creation requirements

  • Every component should be inherited from GHComponent.
  • Component shoud always has async render() method.

Components features:

  • Every component have environment variable inherited from GHComponents with 'client' or 'server' value.
  • Every component both on server and client have GudHub and you can create instance of it for your purposes.
  • You can add 'to-be-removed' attribute for component, and it will be removed on Server Side, and you will get only inner html of it on client. Be aware, that this feature will break all component functionaity and will remove <script> tag for this component

Readme

Keywords

none

Package Sidebar

Install

npm i @gudhub/gh-component-legacy

Weekly Downloads

8

Version

1.4.7

License

ISC

Unpacked Size

34.8 kB

Total Files

12

Last publish

Collaborators

  • gudhub