Commit graph

196 commits

Author SHA1 Message Date
Greg Johnston
3a570dc0d9
docs: this was causing a Google search indexing issue... 2023-06-18 09:10:01 -04:00
Cherry
24945f67bf
docs: add note to docs on how to fix failing builds which rebuild-std (#1200)
Fixes #1199
2023-06-17 16:51:57 -04:00
Karim Lalani
b24be2566d
docs: renamed function names in 13-actions chapter of book to reduce confusion (#1175) 2023-06-15 20:09:46 -04:00
Greg Johnston
b043f829a6
docs: clarify available server fn encodings (#1178) 2023-06-13 16:01:45 -04:00
devriesp
f602cd7b5e
docs: typos (#1172) 2023-06-12 07:26:54 -04:00
Greg Johnston
bb10b32200
feat: register server functions automatically (#1154) 2023-06-11 09:09:21 -04:00
Greg Johnston
8096d7c416
docs: add sections on progressive enhancement/graceful degradation and <ActionForm/> (#1151) 2023-06-05 21:20:42 -04:00
Lunatic
e183bfe278
docs: inculde missing cx in 16_routes.md (#1141) 2023-06-03 16:46:27 -04:00
Greg Johnston
1c236d74b6
docs: add examples of synchronizing signal values (#1121) 2023-05-29 07:38:06 -04:00
Greg Johnston
3628aaab55
Merge pull request #1104 from leptos-rs/docs-updates
Docs updates
2023-05-26 17:06:58 -04:00
Greg Johnston
cd195c3700 docs: extractors 2023-05-26 17:06:07 -04:00
Abhik Jain
9dc5d93b99
docs: fix generic type (#1102) 2023-05-26 16:54:37 -04:00
Greg Johnston
f71e530810 docs: add leptos_meta section 2023-05-26 16:38:39 -04:00
Greg Johnston
6c471f7be4 docs: reorganize into a section on reactivity 2023-05-26 16:06:57 -04:00
Greg Johnston
f80f4ef110 docs: update Global State section for best practices 2023-05-26 16:00:37 -04:00
Greg Johnston
846c338491
docs: clarify difference between set() and update() (#1082) 2023-05-22 15:34:15 -04:00
Greg Johnston
aaf63dbf5c
docs: clarify SSR/WASM binary size comments (#1070) 2023-05-19 15:46:26 -04:00
Greg Johnston
87f6802967
docs: update notes on WASM binary size to work with SSR too (closes #1059) (#1068) 2023-05-19 15:08:32 -04:00
kasbuunk
9453164dd2
docs: fix typo in view fn (#1050) 2023-05-16 14:34:37 -04:00
Warre Dujardin
72414b7945
docs: fix link to cargo-leptos README in the book (#1012) 2023-05-06 13:42:44 -04:00
FrankReh
1afa14ccbd
docs: adjust Dynamic Attributes page (#1011)
Adjust the intro in the Dynamic Attributes page to include
the recent `dynamic style` feature. Also reorder a little given
the order of the page body that follows.
2023-05-06 13:42:16 -04:00
Warre Dujardin
477c29cdf1
docs: close iframe tag (#1013) 2023-05-06 13:41:50 -04:00
Greg Johnston
49a424314a
docs: add a serevr fn section (#1014) 2023-05-06 13:14:16 -04:00
Greg Johnston
1fdb6f1cdf
feat: add style: to view (#1009) 2023-05-06 06:23:20 -04:00
Roland Fredenhagen
1011c464dc
feat: add collect_view(cx) (#956) 2023-04-28 16:02:24 -04:00
Frank Panetta
4b498a3b42
chore: fix typos (#964) 2023-04-28 12:10:48 -04:00
Greg Johnston
de553cf4fe
docs: add note on projecting children (#959) 2023-04-26 20:08:12 -04:00
Greg Johnston
04b01a6ced
docs: add note about adding CSS classes 2023-04-25 16:26:08 -04:00
Greg Johnston
c74b15b120 docs: add section on WASM binary size 2023-04-23 15:07:48 -04:00
Greg Johnston
a0935c169e
docs: add some content on server-side rendering (#930) 2023-04-22 15:15:48 -04:00
Greg Johnston
732ec14302
docs: add use of batch to avoid BorrowMut panic 2023-04-22 07:03:10 -04:00
J
689afec26e
docs: fixed typo in interlude_styling.md (#924) 2023-04-22 06:49:15 -04:00
J
bbf23ea40a
docs: removed extra unused code blocks in form.md (#923) 2023-04-22 06:48:28 -04:00
J
34e0a8e47d
docs: fixed a minor typo in async readme (#921) 2023-04-22 06:47:44 -04:00
Greg Johnston
3905a2aa60 docs: SSR modes 2023-04-17 17:00:52 -04:00
Greg Johnston
ff6ce2dac0 docs: add SSR mode videos 2023-04-17 16:03:36 -04:00
Greg Johnston
16675cbff2 docs: add chapter on styling 2023-04-17 11:50:50 -04:00
Stackingttv
e20c77710d
docs: fixed typo in life cycle docs (#869) 2023-04-14 15:12:18 -04:00
Chris Roth
78c59df1d1
docs: fix match statement (#860) 2023-04-14 14:05:21 -04:00
Greg Johnston
75e40eafb2 docs: add "Life Cycle of a Page Load" 2023-04-14 13:30:53 -04:00
Snêu
5430c78e18
docss: correct broken MaybeSignal link (#840) 2023-04-10 07:37:41 -04:00
Greg Johnston
016ad6b7a6
feat: make __Props imports unnecessary (closes #746) (#828) 2023-04-07 15:06:10 -04:00
Greg Johnston
41a5e09caa
docs: add sandbox links and max height (#824) 2023-04-07 07:38:12 -04:00
Greg Johnston
b67121b755
docs: <Form/> component (#792) 2023-04-02 16:50:21 -04:00
luoxiaozero
1cde4b1f8a
docs: fixed parentheses and formatting issues (#775) 2023-03-31 15:48:29 -04:00
Igor Shevchenko
98a9ec8335
chore(docs): fix a few typos (#756) 2023-03-27 20:06:34 -04:00
Jessie Chatham Spencer
e482e3748d
docs: document cargo workspace feature resolver footgun (#745)
Due to no rust edition being present in a workspac's Cargo.toml, non
WASM compatible code can end up being built for a WASM target.

This commit documents this error and how to resolve it.
2023-03-25 07:34:28 -04:00
Greg Johnston
af20f80b2b
docs: fix typo in router docs (#730) 2023-03-22 20:44:58 -04:00
Greg Johnston
982c8f6b5a
docs: small fixes (#715) 2023-03-20 20:43:04 -04:00
Carlton Gibson
d4d20ecdb0
Used modulo rather than bitwise & for is_odd check.
The modulo operator is less of a head-scratcher for folks coming through here. The bitwise & is equally correct (clearly) but is likely to cause confusion if folks don't immediately see what's going on.
2023-03-20 20:09:02 +01:00
Greg Johnston
556955cf1a
docs: beginning work on router docs (#682) 2023-03-18 07:34:43 -04:00
ryndin32
0bac16dba0
docs: typos (#685) 2023-03-15 16:40:57 -04:00
Elliot Waite
2e671887d9
docs: typo fixes and other small changes to the docs (#662) 2023-03-12 14:51:47 -04:00
Greg Johnston
b085a6c38e
docs: add create_effect chapter (#653) 2023-03-09 18:03:38 -05:00
zack.shen
17c12823db
docs: spelling error (#651) 2023-03-09 16:45:35 -05:00
jfloresremar
207dedab6e
Update 04_iteration.md (#630) 2023-03-06 09:06:58 -05:00
Greg Johnston
1e0adcd89a
docs: add a chapter on async actions and create_action (#623) 2023-03-03 17:25:19 -05:00
Greg Johnston
11d9018e4f
docs: add patterns for global state (closes #245) (#619) 2023-03-03 11:51:21 -05:00
Greg Johnston
e29f6a884f
docs: improve "Getting Started" page (#618) 2023-03-03 10:43:49 -05:00
Greg Johnston
10a2ada42a add note about running Trunk from root 2023-03-03 10:42:18 -05:00
Ivan Agafonov
cebc824fbe
docs: updated error handling code (#610)
code is from already updated example
2023-03-02 07:24:04 -05:00
Sergei Gnezdov
dd0bcb950a
docs: fix compilation error, Issue #608 (#609)
Compiler reports error
F may not live long enough
2023-03-02 07:23:35 -05:00
Ivan Agafonov
df90f183fd
docs: use create_node_ref instead of NodeRef::new (#607)
Code in the example already updated by someone
2023-03-02 07:22:18 -05:00
Artem Makoven
33b5d8c4fb
Fix typo in 03_components.md 2023-03-02 05:54:59 +09:00
Ivan Agafonov
7f72c804f4
typo
_cx replaced with cx
2023-03-01 20:08:03 +03:00
Greg Johnston
dc8fd37461
docs: add create_resource, <Suspense/>, and <Transition/> (#559) 2023-02-20 17:39:17 -05:00
Greg Johnston
db3f46c501
Add docs on testing (closes #489) (#508) 2023-02-12 17:03:12 -05:00
Greg Johnston
d1ae3b49cc
docs: further additions (#505) 2023-02-11 15:55:43 -05:00
Greg Johnston
e380097a9e
Create README.md 2023-02-05 21:54:16 -05:00
Greg Johnston
44c18da324
docs: (in-progress) new tutorial/guide format with integrated CodeSandboxes (#375) 2023-02-05 21:33:42 -05:00
Greg Johnston
256cf0c59b Remove old book 2023-02-05 21:28:52 -05:00
Martin
fdece25051 BugFix, ch03 properly construct the "input_element". 2023-01-27 20:04:29 +00:00
Martin
817bb1628e doc/book updated leptos version. 2023-01-27 19:00:31 +00:00
hakesson
884297706a Search https://github.com/gbj/ and replace with https://github.com/leptos-rs/ 2023-01-13 09:03:11 +01:00
Greg Johnston
b944b17e6d
Update Leptos_logo_pref_dark_RGB.svg 2023-01-10 21:56:30 -05:00
Greg Johnston
c24f33aeb2 Dark-mode logo 2023-01-10 21:51:59 -05:00
Greg Johnston
43f107d9bd New logo 2023-01-09 19:33:38 -05:00
Greg Johnston
d7dba85f2d Missing changes re: docs 2022-12-29 17:43:06 -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
Ke7in
1b0200390b
Update COMMON_BUGS.md to fix typo
```rust
let (b, set_a) = create_signal(cx, false); // should be set_b
```
2022-12-25 18:27:52 -05:00
Greg Johnston
611a1aeb28 Use relative paths in book for CI 2022-11-25 15:48:32 -05:00
Greg Johnston
994debea3f Change _ref attribute to use NodeRef type 2022-11-25 15:38:46 -05:00
Greg Johnston
545fcce97c Set book chapters to depend on latest version explicitly 2022-11-22 20:52:46 -05:00
Greg Johnston
8e624d4942 Update book 2022-11-22 07:32:05 -05:00
Greg Johnston
46b1a96cc7 Allow triggering an effect to re-run from within the effect (so that e.g., you can get() and set() the same signal within the effect — see issue #83) 2022-11-17 20:16:57 -05:00
Greg Johnston
d6c6ab7939 Create list of common bugs (includes #82 and #83) 2022-11-17 18:20:54 -05:00
Greg Johnston
745317a79b Additions to reactivity chapter 2022-11-14 16:58:35 -05:00
Greg Johnston
777f25e311 Add ability to use mermaid diagrams for reactive graphs 2022-11-14 16:58:22 -05:00
Greg Johnston
876aa0f0f4 Fixing ch04 reactivity example (incomplete) 2022-11-13 09:25:22 -05:00
Greg Johnston
e24fb3b294 Ongoing work on book 2022-11-13 08:58:39 -05:00
Greg Johnston
56c04e3772 Small updates to book 2022-10-14 15:44:08 -04:00
Greg Johnston
60f9c7b91f Work on book 2022-10-12 14:43:49 -04:00
Greg Johnston
cd89685dab Fix dimensions and add .gitignore 2022-10-11 21:39:05 -04:00
Greg Johnston
5c50cf3b93 Add SVG logo 2022-10-11 21:35:06 -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
229d7ffce1 Initial work on Leptos Guide 2022-10-09 22:21:54 -04:00