Skip to content

A component tag #27

@ECorreia45

Description

@ECorreia45

A component tag would be an SSR and a CSR different than a Tag or partial which only works on the Server.

This should take into consideration:

  • the style associated with the component
  • the script associated with the component
  • Any data referenced in HTML should automatically update with interaction without the user needing to do anything
  • Basic and optional lifecycles are required for the component to work
  • Should be able to create any type of component inside an HTML tag as well as well as javascript. No need to connect the HTML and JS tags.
  • introduce event binding attributes for any tags on a page
  • Any server-side referenced data is automatically fetched and ready for the client.
  • Any component is SSR with data in case Javascript is not supported on the client
  • All code shipped to the client should be placed in a script tag in dev mode otherwise a js file in production is either inside the dedicated page script file or a new file.
  • Any component (HTML or JS built) should be transformed into WebComponents

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions