Commit Graph

23 Commits

Author SHA1 Message Date
mahmoud-eltahawy 20af4928b2
chore: use workspace edition for examples and crates (#2816) 2024-08-12 19:25:47 -04:00
Greg Johnston 7b62ad44d2
feat: restore hot reloading for 0.7 (#2775) 2024-08-12 16:11:30 -04:00
Saber Haj Rabiee b3e2040ec9
chore: upgrade dependencies (#2765) 2024-08-10 20:01:41 -04:00
Lucas Åström ce4fe632a2 Destructuring `let` (0.7) (#2655)
* Use `let()` syntax for bindings

This lets users use destructuring when binding more complex values, and we also get better IDE support.

* Update rstml
2024-08-01 19:42:50 -04:00
Greg Johnston b79037b96f
fix: correctly handle empty `view! {}` in hot-reloading code (closes #2421) (#2478) 2024-04-01 16:23:29 -04:00
Paul Hansen 6a83161368
chore: add MSRV (#2360) 2024-02-28 07:19:09 -05:00
martin frances 362e3bc603
chore: stop using std::fmt, instead used core::fmt. (#2033) 2023-11-17 15:36:13 -05:00
Fangdun Tsai 6cc92cee8d
chore(leptos_hot_reload): apply lints suggestions (#1735) 2023-09-22 13:48:23 -04:00
Village 2c12256260
feat: allow component names to be paths (#1725) 2023-09-15 18:18:29 -04:00
Greg Johnston dbc707adcd
feat/change: adopt reactive ownership model and drop `cx`/`Scope` (#918) 2023-08-21 19:31:37 -04:00
Vladimir Motylenko b09f9e4814
feat: Update rstml to v0.11.0 (#1416) 2023-07-23 07:46:33 -04:00
Sebastian Probst Eide 4d4d15436b
fix: incorrect tree walker filter in hot reloading (closes #1355) (#1368) 2023-07-17 08:44:32 -04:00
Joseph Cruz 3481a6ee53
build: run tasks from workpace or member directory (#1339) 2023-07-13 16:46:51 -04:00
g-re-g 3e40f9cc66
chore: bump indexmap to 2 (#1325) 2023-07-11 15:24:21 -04:00
Greg Johnston 5adc88bf50
fix: hot-reloading view marker line number (#1255) 2023-06-30 14:03:54 -04:00
martin frances 10c0a2de65
chore: cleared clippy warnings (#1190)
The change in indentation makes the PR hard to review

so I will discuss the change in conversational language

Two "if"'s checks were merged into one "if"

this

-        if let Some(expr) = node.value() {
-            if let syn::Expr::Tuple(tuple) = expr {

becomes

+        if let Some(Tuple(tuple)) = node.value() {
2023-06-15 20:11:50 -04:00
martin frances f6d856ee11
chore: cargo clippy --fix. (#1136) 2023-06-03 11:35:33 -04:00
Vladimir Motylenko 38a1c1102f
Closing tag highlight/hower and go-to definition support in lsp. (#1126) 2023-06-01 22:09:15 -04:00
Vladimir Motylenko 5a71ca797a
feat: RSX parser with recovery after errors, and unquoted text (#1054)
* Feat: Upgrade to new local version of syn-rsx

* chore: Make macro more IDE friendly

1. Add quotation to RawText node.
2. Replace vec! macro with [].to_vec().
Cons:
1. Temporary remove allow(unused_braces) from expressions, to allow completion after dot in rust-analyzer.

* chore: Change dependency from syn-rsx to rstml

* chore: Fix value_to_string usage, pr comments, and fmt.
2023-05-21 06:45:53 -04:00
Greg Johnston f2ac412253
feat: support diffing inside component children in hot-reload (#690) 2023-03-17 13:53:53 -04:00
Greg Johnston e7d56b76b8
fix: apply patches to all instances of a view, not just the first one (#663) 2023-03-11 16:34:13 -05:00
Greg Johnston 591212a56a
feat: add fragment support for hot reloading and fix some stuff (#659) 2023-03-11 07:21:37 -05:00
Greg Johnston 55ce805b60
feat: hot reloading support for `cargo-leptos` (#592) 2023-03-04 09:04:22 -05:00