Commit Graph

52 Commits

Author SHA1 Message Date
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