Pavlo Myroniuk
263c1242d2
Fix typo in custom-hooks.mdx ( #3094 )
...
Removed duplicated `as as`
2023-02-02 20:01:45 +09:00
Cecile Tonglet
bff497e002
Pass string types to Html props ( #2872 )
...
* Pass string types to Html props
* Not sure why passing None explicitly here...
* Update test stderr
2023-02-02 20:00:51 +09:00
Johannes Sjölund
9556266061
Improve grammar in website/docs ( #3092 )
...
* Improve grammar in website/docs
* Futuresolo's changes to website/docs
2023-02-01 22:21:31 +05:00
Kaede Hoshikawa
8d308fb617
Separate PR and master size collection. ( #3101 )
2023-02-01 22:11:43 +05:00
Kaede Hoshikawa
65b930acb6
Deduplicate suspensions when considering subsequent renders for suspensions ( #3099 )
...
* FIx duplicate suspension.
* Fix tests.
* Fix tests.
* Fix tests.
2023-02-01 22:04:43 +05:00
Kaede Hoshikawa
456a05ba40
Fix clippy for 1.67 ( #3100 )
...
* Fix clippy for 1.67
* Fix trybuild.
2023-02-01 21:57:05 +05:00
dependabot[bot]
006fbefddc
Bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.50.0 in /website ( #3105 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.47.1 to 5.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.50.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:41:18 +09:00
dependabot[bot]
ce93fd31eb
Bump prettier from 2.8.1 to 2.8.3 in /website ( #3104 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 14:41:08 +00:00
dependabot[bot]
5ec6689fc8
Bump @docusaurus/core from 2.2.0 to 2.3.0 in /website ( #3102 )
...
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.3.0/packages/docusaurus )
---
updated-dependencies:
- dependency-name: "@docusaurus/core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:40:27 +09:00
dependabot[bot]
2b7856823e
Bump jetli/trunk-action from 0.2.0 to 0.4.0 ( #3106 )
...
Bumps [jetli/trunk-action](https://github.com/jetli/trunk-action ) from 0.2.0 to 0.4.0.
- [Release notes](https://github.com/jetli/trunk-action/releases )
- [Commits](https://github.com/jetli/trunk-action/compare/v0.2.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: jetli/trunk-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:38:27 +09:00
dependabot[bot]
837ddadf22
Bump @typescript-eslint/parser from 5.45.0 to 5.50.0 in /website ( #3103 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.45.0 to 5.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.50.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:37:40 +09:00
Luke Pendleton
352a0853d0
Fix typo in html! concept docs ( #3096 )
...
I am learning Yew and noticed this small typo in the docs as I was reading through it, so I thought I'd fix it :)
2023-01-30 20:27:51 +09:00
WorldSEnder
c5ffe601f2
Implement an internal DomSlot for positioning instead of NodeRef ( #3048 )
...
use instead of NodeRef, decoupling the two
fixes #3043
* implement internal DomSlot
* move DomSlot into submodule of dom_bundle
* hide behind feature csr
* add test cases
* write get in continuation style, this saves a clone
* private DomSlot::get
2023-01-09 15:08:08 +01:00
finga
30a05fcf07
docs: Fix router documentation ( #3078 )
...
Fix passing the route instead of borrowing it as it results in an
error.
Co-authored-by: finga <finga@onders.org>
2023-01-09 22:41:33 +09:00
Kaede Hoshikawa
b55be12d3c
Prefer pop_first if it is available ( #3084 )
2023-01-08 23:09:49 +09:00
Brian Donovan
ec4eca4fcb
docs: fix markdown link in the debugging section ( #3081 )
...
* docs: fix markdown link
It was missing the closing parenthesis.
* docs: fix markdown link
It was missing the closing parenthesis.
2023-01-08 14:03:04 +00:00
Cecile Tonglet
d4c2f03c3d
Add method map() on Children to wrap easily ( #3039 )
2023-01-05 11:30:05 +01:00
dependabot[bot]
e65ee60599
Bump JamesSingleton/is-organization-member from 1.0.0 to 1.0.1 ( #3075 )
...
Bumps [JamesSingleton/is-organization-member](https://github.com/JamesSingleton/is-organization-member ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/JamesSingleton/is-organization-member/releases )
- [Commits](https://github.com/JamesSingleton/is-organization-member/compare/1.0.0...1.0.1 )
---
updated-dependencies:
- dependency-name: JamesSingleton/is-organization-member
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:43:22 +09:00
dependabot[bot]
cc914b77a3
Bump actions/setup-node from 1 to 3 ( #3076 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:42:34 +09:00
dependabot[bot]
b9a8210f2f
Bump json5 from 2.2.1 to 2.2.3 in /website ( #3079 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:41:23 +09:00
dependabot[bot]
1d35148d3e
Bump prettier from 2.8.0 to 2.8.1 in /website ( #3070 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:25:39 +09:00
dependabot[bot]
52730df5df
Bump @docusaurus/plugin-client-redirects from 2.1.0 to 2.2.0 in /website ( #3072 )
...
Bumps [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.2.0/packages/docusaurus-plugin-client-redirects )
---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-client-redirects"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:25:15 +09:00
dependabot[bot]
685e1737bf
Bump jetli/trunk-action from 0.1.0 to 0.2.0 ( #3073 )
...
Bumps [jetli/trunk-action](https://github.com/jetli/trunk-action ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/jetli/trunk-action/releases )
- [Commits](https://github.com/jetli/trunk-action/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: jetli/trunk-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:24:35 +09:00
dependabot[bot]
cf9077ddb5
Bump actions/upload-artifact from 2 to 3 ( #3074 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:24:12 +09:00
dependabot[bot]
0a3ec95071
Bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.47.1 in /website ( #3069 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.45.0 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:23:11 +09:00
Kai Salmon
919695f5ef
The webworker in the web_worker_fib exampel is now marked as a relative path ( #3057 )
2023-01-01 23:27:07 +05:00
Muhammad Hamza
38e2478d9a
Use SVG for logo on website ( #3065 )
2022-12-30 17:37:10 +05:00
Simon
7bfba6b31c
Update SVG colors ( #3064 )
2022-12-28 16:09:01 +00:00
lucasmerlin
a5468b940d
Add hurlurl to awesome.md ( #3051 )
2022-12-24 09:46:10 +00:00
Jesper Olsen
d2f35e45b2
remove "Next loop" - introduction repeating in yew.rs/docs ( #3040 )
2022-12-22 21:49:50 +01:00
Kai Salmon
1542e2b181
Only handle "normal" clicks on <Link>s ( #3056 )
...
* Fixing https://github.com/yewstack/yew/issues/2911
Prevents Link onclick behaviour from executing if the Ctrl key (for
Windows and Linux) or Meta Key (For Mac) is pressed.
This technically introduces a bug that means that links will reload the
page on windows machines when the windows key is held down. However,
this error is also in React Router, so I think we can get away with it.
See:
11156ac7f3/packages/react-router-dom/dom.ts (L29)
* Router Links now use default browser behaviour for alt and shift keys.
This change is inspired by 11156ac7f3/packages/react-router-dom/dom.ts (L29)
This allows uses to shift click links to save whatever the link points
at, and alt click on links to open them in new windows
2022-12-22 21:38:26 +01:00
WorldSEnder
aebd225963
Reentrant event listeners ( #3037 )
...
* add test case for reentrent event listeners
* use Fn to allow reentrent event listeners
2022-12-21 01:57:55 +00:00
Michael Jones
16df0150a9
Fix typo in wasm-bindgen doc page ( #2963 )
2022-12-20 22:41:58 +09:00
__
a6a442fbc8
website/docs/tutorial: fix two typos ( #2971 )
2022-12-20 22:38:25 +09:00
WorldSEnder
6160703c55
Try fixing the post-comment benchmark action, take 2 ( #3047 )
...
* Fix bash escaping
* fix clippy issues
* First checkout, then download artifacts
2022-12-17 16:09:51 +01:00
WorldSEnder
9d005432c5
Try fixing the post-comment benchmark action ( #3045 )
...
* Try fixing the post comment benchmark action
Store the complete event in PR_INFO
Checkout repo for github-action-benchmark
* add missing string escape
2022-12-17 15:18:56 +05:00
Cecile Tonglet
d14fcd2e2d
Add impl IntoIterator on &Classes ( #3038 )
2022-12-14 02:07:16 +05:00
WorldSEnder
9cd33e1dec
use single quotes in gh actions ( #3032 )
2022-12-12 01:23:13 +05:00
WorldSEnder
698bd56e61
Update benchmark crates and workflow ( #3027 )
...
* update benchmark crates and workflow
* default to the merge commit for benchmarking
* setup framework benchmark early, after the caches
this doesn't restore the comments on PRs;
benchmark-action/github-action-benchmark has open issues about it
2022-12-11 15:07:14 +01:00
Shrey Sudhir
8b2a1c199a
update migration docs to be more explicit ( #3028 )
...
* update migration docs to be more explicit
* try to appease prettier
* Update website/versioned_docs/version-0.20/migration-guides/yew/from-0_19_0-to-0_20_0.mdx
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
2022-12-11 18:21:41 +05:00
Muhammad Hamza
0ad939bd34
Consolidate publish workflows into one ( #3026 )
...
* Consolidate publish-* workflows into one
* Update workflow name
2022-12-11 18:20:42 +05:00
WorldSEnder
57f45e2c81
Assert there are no circular references ( #3025 )
...
* assert there are no circular references
the check is costly in release builds and should always fail
note that the current PartialEq impl is *not* symmetric!
should be fixed as well, with an improved design
* remove internal test for cyclic node refs
wasm_bindgen does not yet support #[should_panic]
see also https://github.com/rustwasm/wasm-bindgen/issues/2286
2022-12-10 16:36:59 +01:00
WorldSEnder
d7f988055f
Fix top-level reconciliation in portals ( #3020 )
2022-12-10 14:42:53 +01:00
Cecile Tonglet
772763c2e2
Make Classes cheap to clone ( #3021 )
...
* Use AttrValue instead of Cow in Classes
* Wrap indexset into Rc
* Impl ImplicitClone for Classes
* clippy
* Trigger CI
* Update macro stderr
* Copy optimization made for String to AttrValue
* Update macro stderr again
2022-12-10 18:02:36 +05:00
Sasa Cocic-Banjanac
ad4c3fc298
Mention certain components must be children of Router ( #2913 )
...
* Mention certain components must be children of Router
* make suggested changes
* fix typos
* update documentation with suggested changes again
* change /> to > in comment
* add ticks to Link & Switch in concepts/router.mdx
2022-12-10 18:01:43 +05:00
WorldSEnder
9e980a36b4
Fix clippy::let_unit_value lint in propless components ( #2970 )
2022-12-09 00:10:22 +05:00
WorldSEnder
d37532f5d9
Point links in docs for 0.20 to stable versions ( #3019 )
...
fix versions in Cargo.toml examples
fix branch in links to github
2022-12-09 00:04:30 +05:00
IchHabeKeineNamen
77b0d40455
fix: dead links ( #3013 )
2022-12-06 06:31:35 +00:00
dependabot[bot]
54871f8019
Bump @typescript-eslint/parser from 5.33.0 to 5.45.0 in /website ( #3009 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.33.0 to 5.45.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.45.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 21:50:40 +09:00
dependabot[bot]
16c2e8d791
Bump @docusaurus/plugin-google-analytics from 2.1.0 to 2.2.0 in /website ( #3007 )
...
Bumps [@docusaurus/plugin-google-analytics](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-google-analytics ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.2.0/packages/docusaurus-plugin-google-analytics )
---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-google-analytics"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 21:47:58 +09:00