Commit Graph

97 Commits

Author SHA1 Message Date
Greg Johnston b24eaedfe9 reorganizing exports and updating examples 2024-08-01 19:40:56 -04:00
Greg Johnston 0beef3b2e0 prep for preview release 2024-08-01 19:40:56 -04:00
Greg Johnston 782cb93743 feat: add <A> 2024-08-01 19:40:25 -04:00
Greg Johnston 8642c563d8 add use_navigate and Redirect 2024-08-01 19:40:25 -04:00
Greg Johnston 755fbd3866 preliminary use_navigate work 2024-08-01 19:40:25 -04:00
Greg Johnston 2dd2bb5958 add more hooks and primitives to router 2024-08-01 19:40:25 -04:00
Greg Johnston ebdd31cd9f continuing on nested routes 2024-08-01 19:40:25 -04:00
Greg Johnston 30c1cd921b stash 2024-08-01 19:40:24 -04:00
Greg Johnston 16bd2942db navigation between nested routes 2024-08-01 19:40:24 -04:00
Greg Johnston 13cccced06 initial stage for working nested route rendering 2024-08-01 19:40:24 -04:00
Greg Johnston 9cdd8cac15 stash 2024-08-01 19:40:24 -04:00
Greg Johnston 84ebdc1b92 get basic routing working 2024-08-01 19:40:24 -04:00
Greg Johnston 9f02cc8cc1 stash 2024-08-01 19:40:24 -04:00
Greg Johnston ab1c4ca7a6
chore(ci): run all examples under stable and fix remaining linting issue (#2503) 2024-04-05 16:09:23 -04:00
mahmoud-eltahawy a1a989011a
chore(ci): move all examples to run on stable (#2501) 2024-04-05 14:57:48 -04:00
Sam Judelson ca07d29db5
stable examples change (#2497) 2024-04-04 20:11:28 -07:00
Greg Johnston 41f3c46830
chore: bump nightly version in examples (#2479) 2024-04-01 15:16:53 -04: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
Greg Johnston 67dd188358 ci: add regression test for matching main page correctly in router example 2024-01-19 10:26:58 -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
Joseph Cruz e384d53996
doc(examples): reference run instructions (#1705) 2023-09-13 19:57:50 -04:00
Greg Johnston 689022661d
change: move logging macros into a `logging` module to avoid name conflicts with `log` and `tracing` (#1658) 2023-09-08 07:42:58 -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
Dương 8150847218
test(router_example): add playwright tests (#1247)
* implemented e2e tests for router example

* chore(router_example): cleanup e2e/package.json
2023-06-30 10:40:33 -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 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
agilarity 53e09279a2
ci(examples): verify examples (#1125) 2023-06-01 22:12:18 -04:00
agilarity f0f1c3144b
fix: lint issues in `router` example (#996)
* build: add common tasks

* fix: resolve check-style issues
2023-05-05 11:26:24 -04:00
Roland Fredenhagen 1011c464dc
feat: add collect_view(cx) (#956) 2023-04-28 16:02:24 -04:00
Greg Johnston f919127a7e
fix some issues with animated routing (#889) 2023-04-21 15:33:14 -04:00
Greg Johnston efbe32e081
feat: add non-animation base classes to `<AnimatedOutlet/>` and `<AnimatedRoutes/>` (#877) 2023-04-17 08:12:22 -04:00
Greg Johnston 7382c7e51c
feat: add the ability to specify animations on route transitions (#736) 2023-04-14 18:20:42 -04:00
novacrazy 4b79a91287 Add profile.release to many examples 2023-04-06 21:53:52 -05:00
Greg Johnston de3849c20c example: show how to refactor routes into another component 2023-03-31 16:38:49 -04: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 53ceca8ff8
feat: maintain order of sources and dependencies (#678) 2023-03-13 20:01:03 -04:00
Greg Johnston 4ff08f042b
change: pass `Scope` as argument into `Resource::read()` and `Resource::with()` (#542) 2023-02-19 19:52:31 -05:00
Greg Johnston cf7deaaea3
fix: proper disposal of nested route scopes (#499) 2023-02-11 14:12:59 -05:00
Greg Johnston 8a1adaefaf
fix: typed route params with `#[derive(Params)]` (#488) 2023-02-07 17:28:46 -05:00
Greg Johnston 4034aa9c11
feature: add isomorphic `<Redirect/>` component (closes #412) (#466) 2023-02-04 10:02:17 -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 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 40155e91ea `cargo fmt` fix 2023-01-17 12:43:27 -05:00
Greg Johnston 5c062fa6f1 Add `use_navigate` in `router` example 2023-01-17 12:40:54 -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 8915e2615b Adjust default features for `meta` and `router` 2023-01-07 14:43:32 -05:00
Greg Johnston e714cac0ec Add missing makefiles 2023-01-02 16:19:52 -05:00