Greg Johnston
8502745036
chore: update test output
2024-08-01 19:42:50 -04:00
Greg Johnston
531c39759a
testing: provide tick() that can be called anywhere in tests
2024-08-01 19:41:36 -04:00
Greg Johnston
402d6297f4
fix counters tests
2024-08-01 19:41:13 -04:00
Greg Johnston
88ab9693db
chore: clearing warnings in examples
2024-08-01 19:41:12 -04:00
Greg Johnston
b24eaedfe9
reorganizing exports and updating examples
2024-08-01 19:40:56 -04:00
Greg Johnston
e837e9fded
fix stable examples
2024-08-01 19:40:25 -04:00
Greg Johnston
a8adf8eea2
todomvc example
2024-08-01 19:40:24 -04:00
Greg Johnston
ca1e62c0b9
fix: correct owner for rows of For, correct cleanup of arenas
2024-08-01 19:40:23 -04:00
Greg Johnston
68486cfb72
feat: typed event targets
2024-08-01 19:40:23 -04:00
Greg Johnston
eea971b9fe
working on examples
2024-08-01 19:40:23 -04:00
Greg Johnston
85a91af7c6
examples: simplify stable syntax for using signals in view
2024-04-09 14:45:19 -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
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
Marc-Stefan Cassola
e2f6780de4
docs: added `Callback` to documentation and examples. ( #1926 )
...
* added Callback to documentation and examples.
Also reduced code duplication in Callback implementation.
* added back the closure event callback example
2023-10-24 14:14:51 -04: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
b9a1fb7743
examples: add note about potential for memory leaks with nested signals ( #1675 )
2023-09-08 15:28:18 -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
dfd03d4f27
fix(examples): verification errors ( #1113 ) ( #1115 )
...
* fix(examples/counters): unexpected each item comment
* fix(examples/errors_axum): format error
* fix(examples/ssr_modes_axum): format error
* fix(examples/ssr_modes_axum): unused import
* build(examples/timer): add common tasks
* fix(examples/timer) clippy error
2023-05-28 18:00:42 -04:00
Joseph Cruz
5ab799bbf8
test: resolve check-style issues
2023-05-03 12:34:03 -04:00
Roland Fredenhagen
1011c464dc
feat: add collect_view(cx) ( #956 )
2023-04-28 16:02:24 -04:00
agilarity
52021be806
tests: add wasm web test and common tasks ( #954 )
...
* test: rename web test module
* test: extract wasm-web-test task
* test: introduce common tasks
* test: add web-test and common tasks
2023-04-27 17:00:13 -04:00
Greg Johnston
2001bd808f
examples: fix broken `counters` tests ( #915 )
2023-04-21 15:26:18 -04:00
Greg Johnston
016ad6b7a6
feat: make `__Props` imports unnecessary ( closes #746 ) ( #828 )
2023-04-07 15:06:10 -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
1dbcfe2861
change: reorganize module exports and reexports ( #503 )
2023-02-12 17:04:36 -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
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
ekanna
ce0910caca
Updated example code and README to use latest syntax for data binding
2023-01-17 12:08:44 +05:30
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
86df770dad
chores: getting tests fixed, etc.
2022-12-25 22:53:52 -05:00
Greg Johnston
86d5f4c2e4
Update `<For/>` in example
2022-12-11 20:21:07 -05:00
Greg Johnston
b7bd4fc69c
Update `Counters` example
2022-12-10 19:51:30 -05:00
Greg Johnston
f6eceaeaf9
Update `counters` exaple
2022-12-09 14:56:50 -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