41 Commits

Author SHA1 Message Date
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
Jason Rodney Hansen
d8a97a81ff Assign correct ids in add_many_counters
The counters and counters-stable examples didn't assign the correct ids when
clicking the "Add 1000 Counters" button if there were already counters added,
which meant clicking the "x" to remove them would remove the wrong counter.
2022-11-22 17:00:04 -07:00
Dan Heuckeroth
523569cd94 Fix bug in "counters" examples 2022-10-23 21:24:31 -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
0a0fb3bcf6 on_cleanup (issue #13) and example for cleanup functions 2022-10-17 13:39:40 -04:00
Greg Johnston
7a04411b64 New reactive system: switching to using SecondaryMaps from slotmap to reduce binary size and creation cost significantly 2022-10-15 19:26:17 -04:00
Greg Johnston
c02839d6fc Remove version numbers from examples 2022-10-12 14:43:42 -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
2d2f2a52a4 Update all libraries and examples to use new set_x API 2022-10-08 20:39:13 -04:00
Greg Johnston
b23a6b6a26 Add version number for leptos dependencies 2022-10-07 06:53:17 -04:00
Greg Johnston
a4a8a972b5 Rationalize features for CSR/SSR/hydration 2022-09-03 11:26:57 -04:00
Greg Johnston
b602eea6bb New reactive system 2022-08-24 16:47:37 -04:00
Greg Johnston
7cfebcbfee Significant router work 2022-08-24 10:59:06 -04:00
Greg Johnston
af5becb85b Recomponentify 2022-08-11 07:15:00 -04:00
Greg Johnston
3e4adcad21 Fix some ownership clashes by using grow-only Vecs to hold signal/memo/effect state 2022-08-10 22:55:55 -04:00
Greg Johnston
4a7154071e Debugging issues 2022-08-10 22:42:54 -04:00
Greg Johnston
612b64707e Experimenting with a new reactive system 2022-08-10 22:34:20 -04:00
Greg Johnston
c2c4a4afe6 Use my old reactive system again 2022-08-08 14:09:16 -04:00
Greg Johnston
b21973783d Improved naming conventions and remove an extra clone in create_signal_owned 2022-07-31 19:40:55 -04:00
Greg Johnston
17c2faeb56 Initial commit 2022-07-31 16:46:14 -04:00