This repository was archived by the owner on Jul 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
'Events' vs 'Callbacks' in the documentation #76
Open
Description
'Callback' word could be confusing and is used for different concepts in Yew,
Events seems to be easier to understand in the domain of HTML component interaction
The documentation may be improved with a structure inspired by the one of StencilJS.com ( there is some similarity between the projects)
Could be something like:
...
Components
-
Component: overview and basic example
-
Life cycle: more details on all the steps
-
properties: overview
- optional property with default value (basic example)
- optional property with a specific value (basic example)
- mandatory property (basic example)
- good to know
- derive macro
- PartialEq
- Memory Speed
Events:
- emit event and trap it is parent
- events with value
Nested components
i feel this subject should be extracted from html! section
- Nested component
- Nested components with properties
Styling
i feel this subject should be extracted from more section even if there is not a lot to say for now.
- static CSS file
- dev feedbacks; use of CSSinRust
- official support in Yew under analysis ... #533
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.