sycamore-rs / sycamore

A library for creating reactive web apps in Rust and WebAssembly
https://sycamore-rs.netlify.app
MIT License
2.79k stars 148 forks source link

Revert HTML templates and make everything typed using builder API #559

Closed lukechu10 closed 1 year ago

lukechu10 commented 1 year ago

Closes #556 Supersedes #537

codecov[bot] commented 1 year ago

Codecov Report

Base: 60.52% // Head: 49.90% // Decreases project coverage by -10.62% :warning:

Coverage data is based on head (9818c40) compared to base (6cecd1a). Patch coverage: 1.23% of modified lines in pull request are covered.

:exclamation: Current head 9818c40 differs from pull request most recent head db60e27. Consider uploading reports for the commit db60e27 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #559 +/- ## =========================================== - Coverage 60.52% 49.90% -10.62% =========================================== Files 55 74 +19 Lines 9299 11323 +2024 =========================================== + Hits 5628 5651 +23 - Misses 3671 5672 +2001 ``` | [Impacted Files](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs) | Coverage Δ | | |---|---|---| | [packages/sycamore-core/src/component.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtY29yZS9zcmMvY29tcG9uZW50LnJz) | `21.73% <ø> (ø)` | | | [packages/sycamore-core2/src/component.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtY29yZTIvc3JjL2NvbXBvbmVudC5ycw==) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-core2/src/elements.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtY29yZTIvc3JjL2VsZW1lbnRzLnJz) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-core2/src/generic\_node.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtY29yZTIvc3JjL2dlbmVyaWNfbm9kZS5ycw==) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-core2/src/noderef.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtY29yZTIvc3JjL25vZGVyZWYucnM=) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-core2/src/render.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtY29yZTIvc3JjL3JlbmRlci5ycw==) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-macro/src/view/codegen.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtbWFjcm8vc3JjL3ZpZXcvY29kZWdlbi5ycw==) | `86.41% <ø> (ø)` | | | [packages/sycamore-web2/src/html/attributes.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtd2ViMi9zcmMvaHRtbC9hdHRyaWJ1dGVzLnJz) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-web2/src/html/bind\_props.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtd2ViMi9zcmMvaHRtbC9iaW5kX3Byb3BzLnJz) | `0.00% <0.00%> (ø)` | | | [packages/sycamore-web2/src/html/elements.rs](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs#diff-cGFja2FnZXMvc3ljYW1vcmUtd2ViMi9zcmMvaHRtbC9lbGVtZW50cy5ycw==) | `0.00% <0.00%> (ø)` | | | ... and [15 more](https://codecov.io/gh/sycamore-rs/sycamore/pull/559?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sycamore-rs)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

github-actions[bot] commented 1 year ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

##########################################################################

lukechu10 commented 1 year ago

This PR has become a giant mess and so it will probably be easier to restart again, this time splitting it up into more incremental chunks. Also I really don't want to go through all these merge conflicts!