Commit Graph

78 Commits

Author SHA1 Message Date
Greg Johnston b420579c91 chore: fix example nightly version 2024-04-01 10:45:34 -04:00
Greg Johnston 58b22ec2d6 chore: bump nightly version in examples 2024-03-31 14:13:53 -04:00
martin frances 4bb43f6207
examples/todomvc - Rename Todos::new() Todos::default(). (#2390) 2024-03-03 13:48:40 -08:00
Joseph Cruz 65b7603192
fix(ci): address clippy issue (#2278)
* fix(ci): address clippy issue
* fix(ci): add missing nightly specifications
* fix(ci):  set all nightly references
* chore(ci): do not lint example crates
2024-02-09 16:30:11 -05:00
webmstk 2d70229608
chore: add rust-toolchain.toml to examples (closes #2151) (#2161) 2024-01-07 15:29:54 -05:00
Greg Johnston b578660624
docs: make it easy to see how to run each example in its README (#2085) 2023-11-28 11:47:56 -05:00
Greg Johnston 3f2a9facf8
change: enable inline children for `For` by switching to `children` and `bind:` (#1773) 2023-09-26 14:24:02 -04:00
Joseph Cruz e384d53996
doc(examples): reference run instructions (#1705) 2023-09-13 19:57:50 -04:00
Joseph Cruz c11c4b0e3e
build(examples): make it easier to run examples (#1697)
* build(examples): support process management
* build(examples): manage trunk
* build(examples): manage cargo leptos
* doc(examples): add run instructions
2023-09-12 10:46:16 -04:00
Greg Johnston a317874f93
change: run effects after a tick (#1680) 2023-09-11 21:01:35 -04:00
Greg Johnston dbc707adcd
feat/change: adopt reactive ownership model and drop `cx`/`Scope` (#918) 2023-08-21 19:31:37 -04:00
Joseph Cruz 8c5ab99fa7
build(examples): pull up compile tasks (#1417)
* build(examples): pull up compile tasks

* build(examples): set toolchain for compiles tasks

* build(examples): set toolchain for build and check

* build(examples): set toolchain of other examples
2023-07-24 11:35:34 -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
agilarity 53e09279a2
ci(examples): verify examples (#1125) 2023-06-01 22:12:18 -04:00
agilarity 2cb68c0bd4
fix: `todomvc` example style errors (#1058) 2023-05-18 15:49:34 -04:00
Greg Johnston f0a9940364 fix: leak in todomvc example (closes #706) 2023-05-15 14:53:39 -04:00
agilarity 63dd00a050
fix: lint issues in `todomvc` example (#1001)
* build: add common tasks

* fix: resolve check-style issues
2023-05-05 11:28:14 -04:00
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