Skip to content

📌 [Roadmap] Frameworks support - Flutter / React / Vue / Svelte / Vanilla / Solid #36

Open
@softmarshmallow

Description

@softmarshmallow

Web

React

  • styled-components
  • styled-components (emotion)
  • styled-components (styled-components)
  • inline css
  • css in jsx
  • css module
  • class components
  • small components as const
  • export | export default
  • const | function for component
// const
const Container = () => { return <></>; }
// function
function Container () { return <></>; }

Preact

subset of react, with different imports handling
react vs preact - the differences

  • events don't bubble up through components
  • standard onInput should be used instead of React's onChange for form inputs (only if preact/compat is not used)
  • standard onDblClick should be used instead of React's onDoubleClick (only if preact/compat is not used)
  • onSearch should generally be used for , since the clear "x" button does not fire onInput in IE11

References

Vue

Svelte

#163

Solid JS

#160

Vanilla

  • everything else
  • vanilla text escape - don't use jsx text escape

Flutter

Flutter support has different qualifications. Since it was supported before any others, we shall focus on supporting all previous highlight features.

  • Version up; synced token support - Flutter universal token support (1/3) #38
  • Theme.of(context).textStyle.style support
  • Colors.name Named color support
  • FlatButton support
  • Remove redundant property specification. (don't specify default values)
  • Center support
  • LinearGradient support
  • Icons.icon_name support
  • StrutStyle.height support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions