* Add `--open` to `boids`
* Added running instructions to `contexts`
* Amended `counter` instructions
- Added `--open` flag
- Removed unnecessary instructions on how to run with `release` profile
* Amended `counter_functional` instructions
- Added `--open` flag
- Removed unnecessary instructions on how to run with `release` profile
* Amended `dyn_create_destroy_apps` instructions
- Added `--open` flag
- Removed unnecessary instructions on how to run with `release` profile
* Added running instructions to `file_upload`
* Added running instructions to `function_memory_game``
* Amended `function_router` instructions
- Amended `release` profile instructions
- Added `--open` flag
* Added running instructions to `function_todomvc`
* Added running instructions to `futures`
* Added running instructions to `game_of_life`
* Added running instructions to `immutable`
* Added running instructions to `inner_html`
* Added running instructions to `js_callback`
* Amended `keyed_list` instructions
- Added `--open` flag
- Amended `release` profile notice
* Added running instructions to `mount_point`
* Added running instructions to `nested_list`
* Added running instructions to `node_refs`
* Amended `password_strength` instructions
- Added `--open` flag
- Amended `release` profile notice
* Added running instructions to `portals`
* Amended `router` instructions
- Added `--open` flag
- Amended `release` profile notice
* Amended `simple_ssr` instructions
- Simplified wording
- Removed unnecessary notes
- Changed commands so that they should be executed from the `examples/simple_ssr` directory like every other example
* Amended `ssr_router` instructions
- Removed unnecessary notes
- Changed commands so that they should be executed from the `examples/ssr_router` directory like every other example
* Added running instructions to `suspense`
* Added running instructions to `timer`
* Added running instructions to `todo_mvc`
* Added running instructions to `two_apps`
* Added running instructions to `web_worker_fib`
* Added running instructions to `webgl`
* Amended various examples
- Simplified running instructions
- Moved running instructions to the bottom of each `README.md`
* Amended `examples/README.md` instructions
- Added `release` profile notice
- Added `--open` flag
- Removed `--release` flag
* Apply grammar suggestions from code review
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
* Update examples/function_router/README.md Grammar
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
* Add Grammar Suggestions from Review
* Apply Spelling Suggestion
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
---------
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
* Add VNode::html_from_raw
* Add docs for VNode::html_from_raw
* feature lock to available flags
* Actually raw
* Formatting + docs
* Tests
* More tests + docs
* fmt
* clippy
* CI
* No <div> around multi top-level nodes
* Update docs
* Fix braw detach
* Clippy & fmt
* Fix compile errors
* I hope you get attacked by Cow, Clippy
* Address review
* Reduce DOM calls
* improve detach bundle impl
* Add more tests
* Update example
* fmt
* Apply review suggestions
* fmt
* fix ci
* fix braw shift with multiple nodes
* rename function name
* fmt
* this should've been there
* ci be green
`Model` is ambiguous and not a user-friendly name.
Some of the newer docs are already referring to the root component as
`App`.
This PR follows this naming scheme:
- `App` for a root component
- `MyComponent` for an arbitrary component
This naming is inspired by the React docs.
i18n references were not changed. They need a larger rewrite which will
go in a separate PR.
* remove old files
* update counter
* update crm example
* Add readme for counter
* update custom_components
* update webgl example
* update two_apps
* update todomvc
* mark special case multithread
* update dashboard
* update examples readme
* file_upload example
* fragments example
* futures example
* game_of_life example
* inner_html example
* js_callback example
* keyed_list example
* remove large_table
* remove minimal
* mount_point example
* I can't count apparently
* nested_list example
* node_refs example
* timer example
* store example
* pub_sub example
* rip npm_and_my_sanity
* use a title™️
* clean up multi_thread
* fix format
* boids part 1
* boids part 2
* add workflow
See: <https://github.com/siku2/yew/pull/13>
* remove my little scratchpad again
* add boids to examples table
* runtime-generated list in nested_list example
* update workflow
* first batch of yewtil examples
* clippy "futures"
* remove old yew-router examples
* add a new router example to the main examples
* remove remaining yewtil examples
* more progress
* update for testing purposes
* author list
* improve content generation
* revert this mistake
I thought it would be great to use `unimplemented!()` in case the component doesn't have any properties.
This helps avoid the mistake of forgetting to update the change method when adding props later on.
What I didn't consider is that just because the props are () that doesn't mean that Yew isn't going to call it...
So yeah, it's still a good idea for update, but certainly not for change.
* missed a few
* turn router switch example into test
* seems to be working
* make it possible to host the router example on a sub-path
* create a 404 file for SPA
* remove the three examples and update table
* remove the 404 file because it isn't working anyway
* fix small router issue relating to the sub-path hack
* Update run instructions
`python3 -m http.server --directory` flag was added in Python 3.7.
Change instructions to cd into static and skip the flag instead -
makes it work with earlier Pythons too.
* Add visual feedback for button click
The minimal example has a button, but clicking it does nothing. This
makes it hard to tell whether the example works or not.
This adds a label that is update when the button is clicked.
* Small improvements to crm example
* Add a heading to each scene to make it more obvious what the page is
for.
* Improve layout of input form by stack the inputs vertically.
* Add a little space between entries when displaying the list.
* Add a hint to the Description input that Markdown can be used.
* Add an explanation to the file_upload example
* Clarify purpose of var in fragments example
* Improve futures_wp example
* Add a second button that demonstrates an unsuccessful fetch.
* Render the markdown document (since we're fetching markdown after
all).
* Remove vague comment that's not really helping.
* Improve inner_html example
* Include a textual explanation of what the example is doing.
* Run cargo fmt
* Remove 'static lifetime for constant
* Improve suggestion in inner_html example
* move markdown.rs to a common crate
* add description to common Cargo.toml
* PR feedback
* PR feedback
* remove static lifetime annotation
* Add render method to Component and auto implement Renderable
* More cleanup
* Rename Renderable method from view to render
* Doc fixes
* fix
* Update CHANGELOG.md