Skip to content

Documentation in ES6, Typescript and possibly utilising native module #2224

@graforlock

Description

@graforlock

Expected Behavior

Documentation has modern examples utilising ES6, Typescript and possibly even in-built ES6 browser modules support.

Current Behavior

Documentation has currently an old require syntax that would be decommissioned even in Nodejs in some time.

Possible Solution

Write up a modern Javascript documentation that supports toggling between non-ES6/7 and ES6/7 and maybe built-in browser module support (this point would require actual dev work in rolling up modules for instance to ES6 syntax).

Context

Above changes would modernise developer perception of Mithril giving it a popularity kick since old ES syntax is pretty much a hinderance and an eyesore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: DocumentationFor anything dealing mainly with the documentation itselfType: EnhancementFor any feature request or suggestion that isn't a bug fix

    Type

    No type

    Projects

    Status

    Completed/Declined

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions