Village
1c2327b2d6
feat: attr:
and #[prop(attrs)]
syntax for passing attributes down to components ( #1628 )
2023-09-10 15:19:53 -04:00
Greg Johnston
66dfef8729
Merge pull request #1681 from leptos-rs/docs
2023-09-08 17:11:47 -04:00
Greg Johnston
238d61ce1e
feat: experimental islands ( #1660 )
2023-09-08 16:33:00 -04:00
Greg Johnston
2fa2bf1706
docs: format
2023-09-08 16:27:50 -04:00
Greg Johnston
23d48d4c0e
docs: remove stray references to Scope
( closes #1671 )
2023-09-08 16:02:45 -04:00
blorbb
c87212f2d7
chore: remove (most) syn 1 dependencies ( #1670 )
2023-09-08 14:46:38 -04:00
Baptiste
b3a4c95dad
feat: Rc
-backed ChildrenFn
( #1669 )
2023-09-08 07:44:50 -04:00
Nya
495862e9f9
fix: custom events on components ( #1648 )
2023-09-04 13:27:33 -04:00
Village
6e008343c8
feat: add component generics ( #1636 )
2023-09-03 20:09:50 -04:00
Village
4a43983f4e
feat: implement spreading attributes onto elements ( #1619 )
2023-09-01 20:52:15 -04:00
Greg Johnston
8d3874f8a9
cargo fmt
2023-08-29 21:19:24 -04:00
Einherjar
bade16d227
docs: discuss unique paths for #[server]
functions ( #1610 )
2023-08-29 20:49:31 -04:00
Maneren
700eee6604
fix(macro/params): clippy warning ( #1612 )
2023-08-29 20:31:54 -04:00
Greg Johnston
6c3e2fe53e
feat: update to typed-builder
0.16 ( closes #1455 ) ( #1590 )
2023-08-26 10:10:42 -04:00
Greg Johnston
8f067dcde7
chore: clear release-mode warnings
2023-08-25 17:16:00 -04:00
Greg Johnston
c9cc493063
fix: fourth argument to server functions ( #1585 )
2023-08-25 10:28:54 -04:00
Greg Johnston
7306ecccbc
feat: make struct name and path optional for server functions ( #1573 )
2023-08-24 10:22:35 -04:00
Nathan Lapel
195b843840
feat: remove Clone
requirement for slots in vectors ( #1564 )
2023-08-22 21:23:38 -04:00
Greg Johnston
dbc707adcd
feat/change: adopt reactive ownership model and drop cx
/Scope
( #918 )
2023-08-21 19:31:37 -04:00
luoxiaozero
18deb398ca
feat: tracing
support for component props ( #1531 )
2023-08-18 08:29:41 -04:00
martin frances
cddd784e8d
chore: fixed lint warning seen while running ``cargo doc
`` ( #1539 )
...
"component" is both a module and a macro and so we must
disambiguate
2023-08-15 06:18:19 -04:00
Greg Johnston
f6978217fb
docs: give a compile error when trying to put a child inside a self-closing HTML tag ( closes #1535 ) ( #1537 )
2023-08-13 12:44:45 -04:00
Greg Johnston
a88d047eff
template refactor + snapshot tests ( #1435 )
2023-08-04 07:54:03 -04:00
Greg Johnston
8847d5fc42
fix: compile-time regression for deeply-nested component trees ( #1476 )
2023-07-31 14:23:09 -04:00
Greg Johnston
d44b90c16d
feat: allow mut
in component props and suppress "needless lifetime" warning ( closes #1458 ) ( #1459 )
2023-07-29 06:32:06 -04:00
Greg Johnston
5e26e84d77
feat: allow feature-name flexibility when using server functions ( #1427 )
2023-07-25 06:07:52 -04:00
g-re-g
a3cb3f7f77
perf: use binary search for event and tag names in view
macro ( #1430 )
2023-07-24 15:06:34 -04:00
Vladimir Motylenko
b09f9e4814
feat: Update rstml to v0.11.0 ( #1416 )
2023-07-23 07:46:33 -04:00
Greg Johnston
62bf315059
fix: <use_/>
as typed top-level element in view ( #1410 )
2023-07-21 10:07:34 -04:00
Greg Johnston
011c97e3a4
fix: closing element names wrong for svg::
, math::
, and use_
( closes #1403 ) ( #1406 )
2023-07-20 17:03:30 -04:00
Greg Johnston
2ca3d2c7a4
fix: RawText
/unquoted text nodes in SSR ( closes #1384 ) ( #1407 )
2023-07-20 17:03:19 -04:00
Joseph Cruz
3481a6ee53
build: run tasks from workpace or member directory ( #1339 )
2023-07-13 16:46:51 -04:00
Greg Johnston
e821efca07
chore: new cargo fmt
( #1266 )
2023-07-02 17:01:39 -04:00
Greg Johnston
5adc88bf50
fix: hot-reloading view marker line number ( #1255 )
2023-06-30 14:03:54 -04:00
Greg Johnston
8cb95b4646
docs: update server fn docs ( #1252 )
2023-06-30 10:40:06 -04:00
Ari Seyhun
1cc3a43268
chore: remove unused variable warnings with ssr props ( #1244 )
2023-06-30 08:05:20 -04:00
Greg Johnston
13f7cb9a9a
fix: add missing attribute-escaping logic in leptos_meta
and class
attributes in SSR ( closes #1238 ) ( #1241 )
2023-06-27 11:53:23 -04:00
Greg Johnston
ee7dbafc85
change: migrate to nightly
and csr
features rather than stable
and default-features = false
( #1227 )
2023-06-26 21:12:14 -04:00
Greg Johnston
acfc86d2a4
fix: SVG <use>
in SSR ( #1203 )
2023-06-17 16:47:39 -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
Greg Johnston
2b7923261b
docs: fix failing doctests from server fn docs ( #1179 )
2023-06-13 17:49:16 -04:00
Greg Johnston
b043f829a6
docs: clarify available server fn encodings ( #1178 )
2023-06-13 16:01:45 -04:00
Greg Johnston
bb10b32200
feat: register server functions automatically ( #1154 )
2023-06-11 09:09:21 -04:00
funlennysub
e0be2fa4ba
feat: add additional support for generics in components ( closes #949 + #1023 ) ( #1109 )
2023-06-10 16:44:27 -04:00
Greg Johnston
17adf7cc14
feat: pass components with no props directly into the view as a function that takes only Scope
( #1144 )
2023-06-05 20:48:22 -04:00
yuuma03
51a6147609
feat: variable bindings on components ( #1140 )
2023-06-03 15:22:44 -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
571e778bce
fix: hygiene on template
macro ( #1101 )
...
Pass dependency needed for template, and also hide them behind feature guide, to avoid compile time bloating.
2023-05-27 08:07:44 -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
00fcd1c65e
docs: fix small docs issues ( closes #1045 ) ( #1049 )
2023-05-16 13:01:29 -04:00