Open
Description
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
- vue scoped style css
- Vue3 Support #138
Svelte
Solid JS
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
Labels
No labels