Muhannad Alrusayni
690efade88
fix: Support Input::<..> style to for generic components
...
before that, we accepted this style `Input<..>` but to be consistent
with Rust syntax this is dropped now.
> For reference, the two ways of specifying explicit type parameters in
> Rust are:
> // for functions
> let _ = foo::<MyType>();
>
> // for structs
> let _ = Foo::<MyType> { ... };
>
> by @jkelleyrtp
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
5b079075d7
refactor: clean up commented code.
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
a55b56b403
feat: Support generic components in rsx!() macro
2022-06-04 13:40:50 +03:00
Evan Almloff
db1866090a
fix broken doc links
2022-05-22 20:44:32 -05:00
Ilya Maximov
86159d0b55
fix: wrong type of error
2022-03-19 20:48:54 +01:00
Ilya Maximov
1f065acb4c
refactor: simplify and organize the errors
2022-03-19 20:37:25 +01:00
Ilya Maximov
0be88d20ee
docs: remove capitals and periods from errors
2022-03-19 19:29:57 +01:00
Jonathan Kelley
45231651dd
fix: quick patch
2022-02-22 16:34:06 -05:00
Jonathan Kelley
abfac0d59b
wip: move macro lib out of proc macro crate
2022-01-17 16:37:44 -05:00
Jonathan Kelley
90abd9c9a0
fix: detection of f-string formatting in components
2022-01-10 01:20:03 -05:00
Jonathan Kelley
c439b0ac7e
fix: component pass thru events
2022-01-07 11:51:25 -05:00
Dave Rolsky
51c177be9e
Fix typo "misisng" that occurred in several error messages
2022-01-06 16:18:10 -06:00
Jonathan Kelley
bd341f5571
fix: tests
2022-01-05 17:30:12 -05:00
Jonathan Kelley
427b126bc1
feat: add prevent default attribute and upgrade router
2022-01-05 16:34:24 -05:00
Jonathan Kelley
cb2782b4bb
wip: memoize dom in the prescence of identical components
2022-01-05 00:27:22 -05:00
Jonathan Kelley
d1560450ba
wip: remove runner on hook and then update docs
2022-01-02 02:15:04 -05:00
Jonathan Kelley
4c85bcfdc8
awesome: arbitrary expressions excepted without braces
2021-12-30 03:14:47 -05:00
Jonathan Kelley
4de16c4779
docs: update local examples and docs to support new syntaxes
2021-12-15 15:56:53 -05:00
Jonathan Kelley
fd93ee89c1
feat: upgrade syntax
2021-11-10 17:09:52 -05:00
Jonathan Kelley
2cf90b6903
feat: pull children out of component definition
2021-11-01 13:32:01 -04:00
Jonathan Kelley
9f7eb0f600
wip: remove HTML macro and add custom fields
2021-10-27 16:41:00 -04:00
Jonathan Kelley
84fd0c6162
feat: cleanuup
2021-10-20 01:26:52 -04:00
Jonathan Kelley
79503f15c5
feat: full html support
2021-10-19 22:39:27 -04:00
Jonathan Kelley
6587224deb
polish: remove warnings on core macero
2021-09-24 20:51:48 -04:00
Jonathan Kelley
0a0be95c3e
wip: get keyed diffing compiling
2021-07-30 10:35:47 -04:00
Jonathan Kelley
22f894e6b9
wip: more upgades to html parser
2021-07-22 02:06:49 -04:00
Jonathan Kelley
160d86abbe
wip: serious refactor with const generics
2021-07-21 22:55:04 -04:00
Jonathan Kelley
583fdfa561
docs: big updates to the reference
2021-07-16 16:11:25 -04:00
Jonathan Kelley
caf772cf24
wip: docs, html! macro, more
2021-07-16 00:27:06 -04:00
Jonathan Kelley
4091846934
feat: add aria
2021-07-13 00:56:39 -04:00
Jonathan Kelley
e4cdb645aa
feat: beaf up the use_state hook
2021-07-08 09:29:12 -04:00
Jonathan Kelley
7aec40d57e
feat: enable arbitrary body in rsx! macro
2021-07-07 18:17:00 -04:00
Jonathan Kelley
98a09339fd
wip: move some examples around
2021-07-07 16:19:10 -04:00
Jonathan Kelley
b5e5ef171a
feat: two calculator examples
2021-07-02 15:48:19 -04:00
Jonathan Kelley
d9e6d0925b
docs: examples
2021-07-02 01:30:52 -04:00
Jonathan Kelley
81382e7044
chore: rename ctx to cx
2021-06-25 21:15:33 -04:00
Jonathan Kelley
daa9bd82c3
docs: more work on docs
2021-06-25 09:31:13 -04:00
Jonathan Kelley
517d7f1495
Chore: some cleanup and documentation
2021-06-10 01:01:53 -04:00
Jonathan Kelley
fe6938ceb3
wip: pre vnodes instead of vnode
2021-06-08 14:00:29 -04:00
Jonathan Kelley
50c8b93aad
Feat: move the rsx macro around
2021-06-03 10:42:28 -04:00