1527 Commits

Author SHA1 Message Date
Ron Lobo
e1bffa7e19
Update CONTRIBUTING.md (#1466)
* Update CONTRIBUTING.md

- Fix typo
- Remove some wordiness

* Update CONTRIBUTING.md

Co-authored-by: Simon <simon@siku2.io>

* Update CONTRIBUTING.md

Co-authored-by: Simon <simon@siku2.io>
2020-08-04 12:51:21 +02:00
Jens Reimann
7565670267
Fix issue #1463 (#1464) 2020-08-03 14:30:10 +00:00
Simon
72d0b2fbaa
Update Game of Life example (#1462)
* update game_of_life example
2020-08-02 20:52:54 +02:00
Muhammad Hamza
71344ed184
Add event type docs (#1457)
* 📄: Add event type docs

* 📄: Fix links

* 📄: Add notes about web-sys vs stdweb and re-exports

* 📄: Add suggested change

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* 📄: Fix more urls

* 📄: Hopefully this will fix

* 📄: Merge suggestion

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-30 16:53:26 +02:00
Simon
2d77931b10
Fix Travis builds (#1459)
* remove manual geckodriver download

* remove env variable

* maybe 0.27 is broken?
2020-07-30 16:24:26 +02:00
Stig Johan Berggren
fde3d4c20d
Remove blank lines within list items (#1456) 2020-07-27 14:12:24 +02:00
Simon
4667b33b71
Improve error messages for invalid fragments (#1445)
* remove specific version from "stable" check

* update sterr to new rust stable

* improve html list error messages

* run trybuild tests for 1.45
2020-07-26 12:34:34 +02:00
Alexander Krivács Schrøder
bfc71626d2
Add From<&[T]> for Classes (#1448)
* Add From<&[T]> for Classes

* Round out the test cases for From<&[T]> for Classes
2020-07-25 23:21:13 +02:00
Vishal Sodani
07dcbb9982
added documentation to explain how to use wasm-bindgen to build an app (#1437)
* added documentation to explain how to use wasm-bindgen to build an app

* requested changes done

* Apply suggestions from code review

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
Co-authored-by: Simon <simon@siku2.io>
2020-07-24 18:19:17 +02:00
Simon
b57b8f83d6
Rewrite the README file for the examples (#1440)
* rewrite examples readme

* update the readme

* add a table describing each example

* reword line

* Apply suggestions from code review

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-24 17:30:34 +02:00
Teymour Aldridge
b9863c1f5c
Finish setup of docusaurus (#1423)
* Add links to the sidebar.

* Remove unnecessary `page-ref`s (these links are now in the sidebar).

* Small grammar/style fix.

* Fix code tabs.

* Remove {% page-ref %} uses.

* Fix some line lengths.

* Split out `custom.css` into multiple files.

* Remove duplicate titles.
2020-07-24 16:17:47 +02:00
Simon
b907dea76f
Remove outdated issue template and add config (#1427)
* remove ISSUE_TEMPLATE.md

* add an issue template config
2020-07-24 13:54:40 +02:00
Denis Kolodin
9aff041c53
Remove patreon link (#1424) 2020-07-24 12:44:02 +08:00
Arend van Beelen jr
afabbf08f2
Update link to docs (#1442)
* Update link to docs

* Remove unnecessary capitalization
2020-07-23 22:00:47 +02:00
eksea
eee6827b35
fix deserialize error of fetch example in yewtil (#1435)
* fix deserialize error of fetch example in yewtil

* fix code format

* Update yewtil/examples/fetch/src/lib.rs

Co-authored-by: Simon <simon@siku2.io>

Co-authored-by: Simon <simon@siku2.io>
2020-07-22 21:50:17 +02:00
Алексей Пастухов
fb27791332
Example build hardening (#1430)
* run_example.sh checks example existens

the script exits if without example name parameter
or if example directory doesn't exist

* Update examples/run_example.sh

Co-authored-by: Simon <simon@siku2.io>

* Update examples/run_example.sh

Co-authored-by: Simon <simon@siku2.io>

Co-authored-by: Simon <simon@siku2.io>
2020-07-22 16:30:36 +02:00
Simon
7f6543a1b9
only add charset for text mime types (#1436) 2020-07-22 14:38:13 +02:00
Philip Peterson
309dbcba00
Update main yew examples (remove static dir) (#1417)
* remove static directory, move script to run_example.sh

* gitignore

* server infra

* Support --build-only

* fix npm_and_rest example

* Fix various static index.html's

* Fix spacing

* newlines at the end

* Cleanup

* tabs -> spaces

* line ending

* remove build_examples.sh

* Apply suggestions from code review

Co-authored-by: Simon <simon@siku2.io>

* format file and improve EXIT trap

Co-authored-by: Simon <simon@siku2.io>
2020-07-22 13:29:55 +02:00
hamza1311
60fe59e901
Update TodoMVC example's README (#1429) 2020-07-20 20:56:30 +02:00
Teymour Aldridge
f3d53a7710
Update optimizations.md: (#1422)
* Update optimizations.md:
 * Make some sentences more clear
 * Add additional links and references ("further reading")
 * Capitalise some proper nouns

* Add missing terms to the dictionary.

* Split out a paragraph.

* Fix spelling.

* Update links.

* Apply suggestions from code review

Co-authored-by: Simon <simon@siku2.io>

* Update docs/advanced-topics/optimizations.md

Co-authored-by: Simon <simon@siku2.io>
2020-07-20 20:53:44 +02:00
Teymour Aldridge
d2b7c80860
Add documentation issue template. (#1425)
* Create documentation.md
2020-07-20 17:32:01 +02:00
Алексей Пастухов
d3708a2e6e
amendment of todomvc example (#1409)
* amendment of todomvc example

- makes it ready for wasm-pack build

mentioned in issues #1079 and #1016

* Update examples/todomvc/README.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* Update examples/todomvc/README.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* Update examples/todomvc/README.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-20 14:37:05 +02:00
Simon
4eb7916f94
Update tests to use wasm-pack (#1415)
* run tests using wasm-pack

* update contributing guide

* fix typo

* should probably install wasm-pack

* clarify manual webdriver installation

* Apply suggestions from code review

Had to do this again because I messed up my rebase, sorry!

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* make capitalisation of WebDriver consistent

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-19 15:57:04 +02:00
Justin Starry
e53e0d71d1
Delete feature_request_router.md 2020-07-19 17:22:54 +08:00
Justin Starry
f142bb3cc3
Delete bug_report_router.md 2020-07-19 17:22:49 +08:00
Justin Starry
df584f1a75
Delete ask-question_router.md 2020-07-19 17:22:40 +08:00
Simon
7c187d3292
Fix new clippy warnings in yew-functional crate (#1416)
* fix the clippy warning

* fix some pedantic and nursery lints
2020-07-19 14:13:38 +08:00
Iha Shin
a4eb965082
Add access to the event in InputData (#1411) 2020-07-13 14:56:39 +08:00
Simon
f7ce3e2c71
handle params with default values in properties (#1408) 2020-07-12 14:16:43 +08:00
F.J. Navarro
1e609b4af8
add styled frameworks for yew (#1396)
* add styled frameworks for yew

* revert some changes that was updated previously

* fix code review

* capitalize fist letter yewtify explanation

* fix code review

* switch definitions

* add Vuetify and Javascript in the dictionary
2020-07-11 00:54:36 +08:00
EndilWayfare
61ed84e4aa
Added NeqAssignBy trait (#1389)
Similar to `NeqAssign`, but accepts a `FnOnce(&U, &U) -> bool` to perform equality comparison instead of relying on `PartialEq` impl
Reimplemented `NeqAssign` in terms of `NeqAssignBy`
Added doctests for both traits

Co-authored-by: EndilWayfare <p.rochendil@gmail.com>
2020-07-10 05:47:40 -04:00
Teymour Aldridge
0b07709437
Fix auto publishing (#1403)
* Fix auto publishing

Hopefully this is *actually* fixed this time.

* Test that it works (will revert this)

* Revert changes

* Update .github/workflows/autopublish.yml

* Apply suggestions from code review
2020-07-10 17:46:59 +08:00
Justin Starry
0ed36ade59 Remove duplicate code of conduct 2020-07-10 16:53:44 +08:00
Justin Starry
104479d62a Fix spellcheck 2020-07-10 16:53:44 +08:00
Justin Starry
6042da816a GitBook: [master] 29 pages modified 2020-07-10 16:53:44 +08:00
FIGBERT
5c3a71713c Fix typo (#112) 2020-07-10 16:53:44 +08:00
Mingun
6a07d91b37 Add #[derive(Clone)] in examples (#111)
* Add #[derive(Clone)] in examples

Closes #110

* Add backticks to rust elements

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* Another backtics

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-10 16:53:44 +08:00
hituzi no sippo
840b0aa4ae bumping up the yew version in Cargo.toml (#107) (#109)
* bumping up the yew version in Cargo.toml (#107)

* bumping up the yew version for stdweb

* bumping up the yew version of ConsoleService link

* bumping up the yew version

* Update src/more/debugging.md

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2020-07-10 16:53:44 +08:00
Teymour Aldridge
2efa3d1cfa Shorten line lengths. (#106)
* Shortens line lengths (to ~100 characters max per line).
 * A few stylistic improvements
 * Corrects a couple of typos
 * Fixes a few grammar errors

Co-authored-by: Justin Starry <justin.starry@icloud.com>
2020-07-10 16:53:44 +08:00
Dirk Puge
dd7bb1dc92 Removed periods and fixed spelling mistakes (#103)
* Added period to description

* Fixed the spelling of " Arguabley" to "Arguably"

* Update README.md

* Added period to description

* Added period to description

* Grammar and spelling correction

added period to description, fixed spelling of "encouter" to "encounter"

* Added period to description

* Added period to description

* Grammar and spelling

Added period to description, fixed spelling of "accross" to "across"

* Added period to description

* Added period to description

* Fixed spelling of "aggresive" to "aggressive"

* Removed period from description

* Update optimizations.md

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Removed period from description

* Update src/concepts/html/README.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-10 16:53:44 +08:00
Nougator
a76d62995d Added "" for the version at line 25 (#107)
* Added "" for the version at line 25

* Update src/getting-started/starter-templates.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
2020-07-10 16:53:44 +08:00
Teymour Aldridge
1c247c786a Add code of conduct to documentation as well. (#104) 2020-07-10 16:53:44 +08:00
Darren Meehan
436fad8bd3 Point to master branch for examples (#98)
* Point to master branch for examples

* Update src/getting-started/examples.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* Update src/getting-started/examples.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2020-07-10 16:53:44 +08:00
Teymour Aldridge
bfb8443421 Fix a typo. (#102) 2020-07-10 16:53:44 +08:00
Günter Zöchbauer
ffa4752f70 Mention prop_or macro (#97)
* Mention prop_or macro

* Fix the prop_or vs prop_or_else mixup

* Update src/concepts/components/properties.md

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2020-07-10 16:53:44 +08:00
Anthony Morris
f7b44dbaf0 Add latest Stack Overflow survey results (#95) 2020-07-10 16:53:44 +08:00
codec-abc
c25d834fce Add a note telling how to bypass the recursion limit of the html! macro. (#94)
* Add a note telling how to bypass the recursion limit of the html! macro.

* Update src/concepts/html/README.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>

* Update src/concepts/html/README.md

Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2020-07-10 16:53:44 +08:00
Michal Kawalec
baf14cf083 update the docs to specify that local agents do not incur serialization overhead (#89) 2020-07-10 16:53:44 +08:00
洪慈吟
2b8298d922 GitBook: [master] 29 pages modified 2020-07-10 16:53:44 +08:00
Stephan Dilly
e88629ba2a updated (#92) 2020-07-10 16:53:44 +08:00