Commit graph

61 commits

Author SHA1 Message Date
Greg Johnston
a1144a5b6b examples: add autofocus in todomvc 2023-04-24 08:07:49 -04:00
Greg Johnston
328d42656d
docs: compile error on mutually-exclusive features (#911) 2023-04-21 12:25:21 -04:00
novacrazy
4b79a91287 Add profile.release to many examples 2023-04-06 21:53:52 -05:00
Álvaro Mondéjar
509223ab2e
chore: Upgrade console_log to stable (#724) 2023-03-22 18:21:53 -04:00
Elliot Waite
a9f778459a
examples: remove duplicate console_error_panic_hook::set_once() calls (#692) 2023-03-17 16:27:24 -04:00
Greg Johnston
04eae63e39
examples: include missing examples in CI (#598) 2023-02-28 15:33:02 -05:00
jquesada2016
f2f52b2533
change: move signal method implementations into traits in signal prelude (#490) 2023-02-18 07:30:03 -05:00
Greg Johnston
586f524015
feature: in-order streaming and async rendering (#496) 2023-02-17 17:31:32 -05:00
Greg Johnston
1dbcfe2861
change: reorganize module exports and reexports (#503) 2023-02-12 17:04:36 -05:00
Greg Johnston
1cba54d47e
fix: <For/> in todomvc example (#504) 2023-02-11 16:30:09 -05:00
jquesada2016
d4648da5c6
chore: add workspace rustfmt.tml (#483) 2023-02-11 14:25:55 -05:00
Greg Johnston
c24874d9c8
change: add Scope to view function in <For/> to avoid memory "leak" (#492) 2023-02-08 20:28:04 -05:00
jquesada2016
765006158a
change: NodeRef<HtmlElement<Div>> generics to NodeRef<Div> (#481) 2023-02-07 20:13:25 -05:00
Greg Johnston
6373fd42fb
Switch examples to check instead of build (for CI resources) and add missing examples (#437) 2023-02-01 20:36:37 -05:00
Greg Johnston
8d60a191eb Missing Storage dependency (now that gloo is gone) 2023-01-27 15:36:20 -05:00
Greg Johnston
b861f84e40
Fix a large number of small issues in docs (#386)
* Fix example links in docs

* Restore missing CSR READMEs

* Document need to enable features on `leptos_router` and `leptos_meta`

* Add "Is it production ready?" to FAQs

* Document which types are provided as contexts in server integrations

* Fix broken links and other issues in docs
2023-01-26 21:44:01 -05:00
Greg Johnston
9ac0f0a579 Fix todomvc 2023-01-20 12:18:31 -05:00
benwis
ee647cba1c Add Favicons to all the examples and standardize on the public folder for public assets 2023-01-09 15:27:52 -08:00
Greg Johnston
0ed56d382d Add build-examples task to cargo make CI 2023-01-02 13:29:37 -05:00
Greg Johnston
4b1fce4c9c Revert "Merge branch 'main' into pr/119"
This reverts commit 63f680f37d, reversing
changes made to 50ba796f49.
2022-12-28 15:06:46 -05:00
Greg Johnston
63f680f37d Merge branch 'main' into pr/119 2022-12-28 14:21:54 -05:00
Greg Johnston
e3c4e9f6a4 chores: fix failing tests, update docs, suppress warnings 2022-12-28 11:33:26 -05:00
Greg Johnston
ce84632c39 Update NodeRef to be generic over typed HTML elements 2022-12-21 21:15:48 -05:00
Greg Johnston
df8e50e85a Update TodoMVC example 2022-12-19 20:10:15 -05:00
Greg Johnston
c5a1e9a447 Copy edited and added Trunk install instructions 2022-11-29 20:00:09 -05:00
Ben Wishovich
e88e131ec3 Add READMEs to all examples and fix typo in todo-app-axum 2022-11-29 13:14:59 -08:00
Greg Johnston
4093f4c2d8 Fix todomvc 2022-11-25 16:28:21 -05:00
Greg Johnston
994debea3f Change _ref attribute to use NodeRef type 2022-11-25 15:38:46 -05:00
Greg Johnston
6949750668 Fixing tests and examples 2022-11-23 18:29:20 -05:00
Greg Johnston
f5ae5f4fff Final TodoMVC fix 2022-11-12 08:39:30 -05:00
Greg Johnston
19ac14cf62 Figuring out the right way to handle refs/event listeners in SSR mode is hard... 2022-11-12 07:37:07 -05:00
Greg Johnston
75354517bf Fix failing test 2022-11-10 21:45:54 -05:00
Greg Johnston
01807ea514 Fix toggle_all panic 2022-11-10 21:43:40 -05:00
Greg Johnston
3d0a8f574e Fix misplaced ref in TodoMVC 2022-11-09 07:47:17 -05:00
Greg Johnston
3730427789 Fix misplaced ref in TodoMVC 2022-11-09 07:47:05 -05:00
Greg Johnston
fd3443b129 Fix TodoMVC example 2022-11-05 23:27:36 -04:00
Greg Johnston
4e9d0354c6 Use localStorage for initial state of todo list 2022-11-05 19:48:12 -04:00
Greg Johnston
8f56a52615 Simplify and add comments on TodoMVC 2022-11-05 19:14:45 -04:00
Greg Johnston
8a7ff0414a Fixing a few more build/test issues 2022-11-02 23:10:12 -04:00
Greg Johnston
5880aaefd5 Include examples in workspace so rust-analyzer works (per issue #28) 2022-10-20 21:44:38 -04:00
Greg Johnston
f59efc6c2b Fix duplicates because I'm terrible at using GitHub 2022-10-20 21:43:30 -04:00
Greg Johnston
af152891a1
Merge branch 'main' into pr/add-console-panic-hooks 2022-10-20 17:51:40 -04:00
Oceantume
7065e5b32d Add console error panic hook to all existing examples 2022-10-20 17:45:46 -04:00
Greg Johnston
a463bcca43 Add console_error_panic_hook to examples 2022-10-20 17:28:09 -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
Greg Johnston
418e4f4c77 wee_alloc is unmaintained so I'm now getting security alerts about it; I'm removing it from the examples. 2022-10-17 13:51:39 -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
3dd3870dbf Fixing/updating SSR/hydration and some bugs in new reactivity 2022-10-15 22:17:58 -04:00
Greg Johnston
6d7c36655c Not actually necessary, because the effect won't run on the server anyway 2022-10-14 14:42:27 -04:00
Greg Johnston
2c90922385 Fix up TodoMVC example and add build script on client side 2022-10-13 16:42:00 -04:00