Commit graph

434 commits

Author SHA1 Message Date
Greg Johnston
d4da7e0c25 Allow returning <template> from view 2022-11-13 15:58:49 -05:00
Greg Johnston
05f635f4ac Don't require specific subminor versions in dev-dependencies 2022-11-13 09:04:25 -05:00
Greg Johnston
ba3156c878 0.0.16 2022-11-13 09:02:04 -05:00
Greg Johnston
48e934cd40 Remove references to dash-pattern in docs 2022-11-12 20:13:12 -05:00
Greg Johnston
8d67aa1ff0 Fix issues when rendering adjacent blocks/text 2022-11-12 20:03:16 -05:00
Greg Johnston
12fc1ca7a1 Clear warnings 2022-11-12 19:30:47 -05:00
Greg Johnston
c7826e0bc9 Continuing work 2022-11-12 07:47:57 -05:00
Greg Johnston
281b303c80 Initial work to upgrade to 0.9 2022-11-12 07:30:37 -05:00
Greg Johnston
92f4ea5888 Fixes issue #60 2022-11-08 07:15:26 -05:00
Greg Johnston
6b82a37dea
Merge pull request #58 from gbj/fix-component-and-element-order
Fix the out-of-order component/element rendering in #53.
2022-11-06 22:22:47 -05:00
Greg Johnston
33fdc3eae1 Fix leptos important for doctests with on: 2022-11-06 20:45:50 -05:00
Greg Johnston
10e01bf989 Remove logs I reintroduced 2022-11-06 20:43:05 -05:00
Greg Johnston
49820ccba6 This should fix the out-of-order component/element rendering in #53. 2022-11-06 20:37:09 -05:00
Greg Johnston
36be004ef2 Avoid manual delegation for all the DOM events that don't bubble by default. (This is technically too conservative, as one or two of these only don't bubble on certain elements, but it's simpler than passing in the element name and only a very small deopt in those cases.) 2022-11-06 20:00:35 -05:00
Greg Johnston
296e27cd4a Add notes on types that can be accepted as attributes. 2022-11-06 06:54:20 -05:00
Greg Johnston
e9c1799a11 0.0.13 2022-11-05 22:24:59 -04:00
Greg Johnston
42cd3f1d69 Make sure server-only stuff appears in docs 2022-11-05 22:14:19 -04:00
Greg Johnston
6c04e91088 Fix broken class: and prop: 2022-11-05 19:11:02 -04:00
Greg Johnston
a5712d3e17 0.0.12 2022-11-03 20:00:26 -04:00
Greg Johnston
47fad9a042 Allow on-, class-, prop-, and attr- as equivalent to on:, class:, prop:, and attr: to get around a syn-rsx parsing limitation on mixing colons and dashes in an attribute name 2022-11-03 19:57:27 -04:00
Greg Johnston
abc1c07053 Work on fixing tests 2022-11-03 08:08:03 -04:00
Greg Johnston
8ea73565de Shift from mutually-exclusive features to a more-gracefully-degrading system of features ordered by preference, clean up some warnings, and use cfg_if for improved readability 2022-11-02 20:41:00 -04:00
Greg Johnston
c034e84b1d Direct server fn => ServerForm interface per #43 2022-11-01 22:57:55 -04:00
Greg Johnston
292c3d8bb1 Support for POST in client-side forms 2022-10-30 20:37:50 -04:00
Greg Johnston
f411ece51a
Merge branch 'main' into server-rpc 2022-10-29 20:31:34 -04:00
Greg Johnston
57ddfbf2ef Correctly handle serialization using Serializable and multiple types of arguments for input & output 2022-10-29 20:09:05 -04:00
Greg Johnston
c3afa0b08d Reduce types that need to be derived 2022-10-28 20:58:38 -04:00
Greg Johnston
572187399f Okay, here's the magic: add a #[server] macro and remove all the nasty boilerplate 2022-10-28 17:35:21 -04:00
Greg Johnston
2fbe08f128 0.0.11 2022-10-24 19:30:13 -04:00
Greg Johnston
c77bdb3781 0.0.10 2022-10-22 07:56:33 -04:00
Greg Johnston
ac624dd7ac Fix stable feature 2022-10-19 08:50:17 -04:00
Greg Johnston
0280eaf1cb Please, Cargo. 2022-10-18 22:08:43 -04:00
Greg Johnston
a87a60a652 Rearrange tests and dev-dependencies so Cargo will actually let me publish this crate 2022-10-18 22:08:15 -04:00
Greg Johnston
e909232292 0.0.9 2022-10-18 21:54:05 -04:00
Greg Johnston
4ee64816c7 Should fix issue #23. Easily one of the most-satisfying fixes I've had to a bug in a long time... Let's hope it doesn't break anything. 2022-10-18 20:07:10 -04:00
Greg Johnston
1bbbdbf29e Rationalize features and set up defaults so that a) users don't need to specify csr mode by default and b) tests pass without feature flags 2022-10-18 10:42:55 -04:00
hakesson
99b1c323a0 Add workspace and disable default ssr or csr features 2022-10-18 07:10:57 +02:00
Greg Johnston
c9e1bac6db Fix macro tests 2022-10-17 10:57:55 -04:00
Greg Johnston
3073368aee Fix broken attribute escaping 2022-10-17 10:52:31 -04:00
Greg Johnston
3f7e7193ea Clearing up some of the flood of warnings for unused imports etc. that have come up as I've shifted around implementations 2022-10-17 10:45:20 -04:00
Greg Johnston
9f95041c2b Fix issue #3 and update view! SSR tests 2022-10-17 08:09:25 -04:00
Greg Johnston
907e9491b9 Escape HTML in SSR (issue #2) 2022-10-16 22:42:52 -04:00
Greg Johnston
9ab08795d9 0.0.7 2022-10-14 15:47:16 -04:00
Greg Johnston
56c04e3772 Small updates to book 2022-10-14 15:44:08 -04:00
Greg Johnston
c9b2a9d5e0 0.0.4 update 2022-10-12 08:38:04 -04:00
Greg Johnston
6e89ea4447 Proc-macro hygiene by including cx in view! macro. :-( but necessary... 2022-10-10 20:44:44 -04:00
Greg Johnston
dd325b881f Downgrade to fix build 2022-10-08 08:10:58 -04:00
Greg Johnston
89770d5b38 Update versions 2022-10-08 08:10:17 -04:00
Greg Johnston
ae9304a189 Version 0.0.3 2022-10-08 08:02:07 -04:00
Greg Johnston
10cc0fbef4 Clean up some dependency issues 2022-10-07 16:28:22 -04:00
Greg Johnston
c0c42fdf59 Clean up features/dependencies 2022-10-07 16:05:28 -04:00
Greg Johnston
b23a6b6a26 Add version number for leptos dependencies 2022-10-07 06:53:17 -04:00
Greg Johnston
97d7afec2e Fix authors field 2022-10-07 06:50:21 -04:00
Greg Johnston
0709675702 Remove annoying logs 2022-10-07 06:43:01 -04:00
Greg Johnston
5742cc8bd9 Set versions 2022-10-07 06:41:50 -04:00
Greg Johnston
93b87575c4 Fixing hydration 2022-10-05 09:06:41 -04:00
Greg Johnston
1d42c1b902 Significant progress on accurate/robust hydration 2022-10-01 21:25:49 -04:00
Greg Johnston
0e60228f9b Fix hydration??? 2022-09-30 15:27:49 -04:00
Greg Johnston
4008240bff Work on hydration 2022-09-28 21:35:21 -04:00
Greg Johnston
b2fcb552ea Add <Stylesheet> component to meta 2022-09-28 20:54:56 -04:00
Greg Johnston
3eb0560678 Wrap Option types in components so they're optional to include 2022-09-20 18:19:13 -04:00
Greg Johnston
1695f129e2 Cleanup 2022-09-20 14:31:06 -04:00
Greg Johnston
183c0b3afe Handle multiple serial components followed by an element etc. 2022-09-17 15:16:28 -04:00
Greg Johnston
2c6a679ffb Lazy-evaluate children 2022-09-16 22:35:25 -04:00
Greg Johnston
994a348b57 Macro to derive Params type on structs for URL search, route params 2022-09-14 10:15:28 -04:00
Greg Johnston
0bd1024cfe Allow users to avoid x=x syntax in component props 2022-09-14 09:46:42 -04:00
Greg Johnston
d177f97eb8 Fix unnecessary semicolon 2022-09-14 09:42:07 -04:00
Greg Johnston
80de7e9e12 Work on data streaming 2022-09-11 15:11:03 -04:00
Greg Johnston
4424361f57 Fixing hydration 2022-09-08 22:04:36 -04:00
Greg Johnston
4a8339df18 Picking away at hydration bugs 2022-09-07 22:21:22 -04:00
Greg Johnston
133a088364 Progress on SSR/hydration 2022-09-07 15:43:35 -04:00
Greg Johnston
45d1bbc236 Create HackerNews app 2022-09-05 12:32:27 -04:00
Greg Johnston
812c3a2045 SSR/hydration example! 2022-09-03 17:53:18 -04:00
Greg Johnston
a4a8a972b5 Rationalize features for CSR/SSR/hydration 2022-09-03 11:26:57 -04:00
Greg Johnston
bea51d54ef Clear warnings in TodoMVC 2022-09-03 08:03:07 -04:00
Greg Johnston
ed23604237 Update TodoMVC example to use new interfaces 2022-09-02 15:22:35 -04:00
Greg Johnston
18d28ecefc Hydration improvements 2022-09-02 14:50:49 -04:00
Greg Johnston
395075b530 Hydration! 2022-09-02 11:26:06 -04:00
Greg Johnston
54f37095dc Beginning work on SSR/hydration 2022-09-01 10:39:04 -04:00
Greg Johnston
5fad14981a Fix bugs with multiple text/block nodes under one parent 2022-08-29 08:06:40 -04:00
Greg Johnston
9233985738 Cleaning warnings 2022-08-25 15:04:30 -04:00
Greg Johnston
7cfebcbfee Significant router work 2022-08-24 10:59:06 -04:00
Greg Johnston
612b64707e Experimenting with a new reactive system 2022-08-10 22:34:20 -04:00
Greg Johnston
17c2faeb56 Initial commit 2022-07-31 16:46:14 -04:00