242 Commits

Author SHA1 Message Date
Greg Johnston
db6f9fb782 update mdbook action to 1.15? (#97) 2024-05-11 16:15:02 -04:00
a.nvlkv
40774ab8b5 Add custom admonition for code sandbox (#95) 2024-05-11 15:12:35 -04:00
Greg Johnston
cde438d67b Update 26_extractors.md 2024-05-02 16:15:29 -04:00
Greg Johnston
f4f388df1e note issue with trunk serve --open on Windows (closes #93) 2024-04-20 07:15:54 -04:00
Greg Johnston
48e706042b Update 26_extractors.md 2024-04-19 11:08:11 -04:00
lexika979
171160effe Fix typo (#92) 2024-04-19 08:59:39 -04:00
Greg Johnston
39a57bcde2 Update 05_forms.md 2024-04-19 08:57:30 -04:00
Yasutake Kazu
3a75fa74f5 Clarify loading data for blog comments on the SSR modes page (#91) 2024-04-05 14:10:34 -04:00
mscherer
06c637a247 Update 14_create_effect.md (#89)
Fix typo
2024-04-05 14:08:36 -04:00
Dominik Wilkowski
5ebb369cff Added Zed and sublime rust-analyzer settings to leptos_dx page (#88)
SublimeText isn't as fashionable anymore as it used to be but some still use it and Zed is the shiny new thing :)
2024-04-02 07:17:50 -07:00
Aaron Schweiger
1a92be0131 Update Section 15.1. An Important Note on Security (#86)
* Update Section 15.1. An Important Note on Security

The existing language "You should never return something sensitive from
a server function."  This text suggests it is impossible to make a server
function secure.  This commit indicates two necessary steps making a server
function secure.

* Update to reflect suggested wording from benwis; fix typo

---------

Co-authored-by: Aaron Schweiger <Aaron Schweiger>
2024-04-01 18:11:18 -07:00
Greg Johnston
20d7685a74 add appendix on the component/ownership life cycle (#87) 2024-03-28 16:42:44 -04:00
Greg Johnston
1af623cf00 Update islands.md 2024-03-27 08:54:17 -04:00
Ratul
9fe593afa2 Corrected visualisation for signal flow (#84)
Corrected visualisation for signal flow
2024-03-22 14:35:08 -04:00
Greg Johnston
e678b48b0f Update leptos_dx.md 2024-03-22 14:34:16 -04:00
William Eliasson
5f74b469bc Added SSR feature (#83)
without this rust-analyzer won't give suggestions for anything in the ssr feature due to the optional flag being true.
2024-03-22 14:29:25 -04:00
Jordan Butterwick
46230945ec Update leptos_dx.md (#81) 2024-03-22 14:25:36 -04:00
crs117
27bb5bec54 Update 18_params_and_queries.md (#80)
I am not sure if any other notes need to be made. The Sandbox uses the map so it does not use structs.
2024-03-22 14:25:23 -04:00
crs117
ccf891640e Update csr_wrapping_up.md (#78)
Removing an extra "the" added by gremlins somewhere.
2024-03-22 14:25:12 -04:00
Matt
377f06d8ef Use a base OS to run binary instead of Rust runtime (#67)
The Rust runtime for a docker image is large as it includes the language's tooling. It is not needed to run a Rust binary file. This replaces running the binary with the full runtime with a base OS (Debian) to reduce the size of the Docker image.
2024-03-22 14:24:57 -04:00
Shiv Dhar
37b6902eee Fix small typo (#77) 2024-03-01 10:45:59 -05:00
Greg Johnston
0ee6a5a997 Merge pull request #76 from titaniumtraveler/pr/repo-link
Add mdbook config entries to link users to this repo
2024-03-01 10:45:40 -05:00
Nuke
69400d4417 fix: spelling, add a relevant links (#73) 2024-03-01 10:44:43 -05:00
Jon Heinritz
d14973362d feat: add edit-url-template 2024-02-29 01:33:18 +01:00
Jon Heinritz
d44c62eb1e feat: add git-repository-url link to directly point users to this repo 2024-02-29 01:32:17 +01:00
Simon
bd513f4a9a clarify Option in 07_errors.md (#75)
Clarify `Some(T)` for `Option` is the equivalent of `Ok(T)` for `Results`
2024-02-25 18:49:51 -05:00
Greg Johnston
04f6a988e7 closes #72 2024-02-20 11:22:59 -05:00
Greg Johnston
f6b422b3ad feat: add stylance for scoped CSS styles (#71) 2024-02-16 15:34:19 -05:00
Greg Johnston
3ac3bd6fb3 feat: add additional docs on using wasm-bindgen (#70) 2024-02-16 15:16:41 -05:00
Greg Johnston
8b6ead334e fix: remove outdated info about intellij-rust plugin (closes #55) (#69) 2024-02-16 14:07:39 -05:00
Greg Johnston
c865f71bbc fix: add note about router features (closes #58) (#68) 2024-02-16 14:06:47 -05:00
Jedd Dryden
0b2d6a9c23 Dev Container Implementation and README.md Updates (#47)
* Implemented Dev Container

* Added extra extensions

* Improved `README.md`

* Typo

* Update .devcontainer/Dockerfile

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update Dockerfile

---------

Co-authored-by: Toby Scott <hi@tobyscott.dev>
2024-02-13 15:06:42 -08:00
blorbb
5d23a7e35a Collection of minor changes (#63)
* various fixes to forms page

* add docs to `with!` macros

* show full path of `SubmitEvent`
2024-02-12 20:25:58 -05:00
blorbb
6d9d138a22 add advanced section + web_sys discussion (#59)
* add advanced section + web_sys discussion

* remove unnecessary url stuff

* move web-sys page to end of part 1

* actually move web_sys to end of part 1
2024-02-10 09:57:28 -08:00
Daniel Mantei
fb31d9965e update the start of Part 1 to include start-trunk template option (#57) 2024-02-10 09:52:13 -08:00
Ratul
b1113b4944 Fixed typos & made sure that the snippet runs (#60) 2024-02-07 18:45:20 -05:00
François Blanchard
001930b14f docs: 📝 use nightly Rust shorthand in the basics (#51) 2024-02-03 19:10:42 -05:00
gulbrand.dev
164b800309 Update 11_suspense.md -- fix typo (#53) 2024-02-03 19:10:06 -05:00
Greg Johnston
f538ef828b update extractor section (#52) 2024-02-03 19:09:50 -05:00
Greg Johnston
81d3696fc0 add console_error_panic_hook 2024-01-22 08:55:54 -05:00
Niclas Åhdén
952b2ccc1f Remove dangling request_animation_frame solution (#49)
The issue that this Solution solves was removed in:

a317874f93
2024-01-19 10:37:06 -05:00
Marvin Bitterlich
5b1ac0f46d Add documentation for how to deploy to Railway (#45)
* Add documentation for how to deplo to Railway

This uses a Railway template I created to save users time. I also added an alpine based dockerfile, as the debian based one was not working for me.

I didn't want to just outright delete/update it, maybe this was just me doing things wrong. But the docker file I added I can confirm works well. And using the GitHub release install script was much faster than cargo binstall

* Some quick fixes
2024-01-17 11:41:47 -08:00
Leah
473107e971 docs: fix typo (#46) 2024-01-16 11:18:26 -05:00
RL
69c7c37469 fixing fn tab after Passing Server Children to Islands heading to if selected()==index (#44) 2024-01-12 06:25:03 -05:00
Greg Johnston
1aba8e5f3a note about nightly in cargo-leptos section 2024-01-05 09:50:47 -05:00
Jonathan Plasse
0d9c4cc0f2 Fix typo (#42)
signa -> signal
2024-01-05 09:12:22 -05:00
SilasLock
909cb7236a Fix the prop name from value to progress (#39) 2024-01-05 09:09:36 -05:00
Wollaston
c38aab5f4e Correct typo 'use_params_map' link (#38)
The link links to 'use_query_map' while the text suggests it should link to 'use_params_map.' This corrects the typo in the link.
2024-01-05 09:09:06 -05:00
Chris
06ab64a5a1 fix: create_element without document() (#36)
Co-authored-by: chrisp60 <gh@cperry.me>
2024-01-05 09:08:47 -05:00
Daniel Davidson
369433bfb6 Fix global_state count update snippet (#35) 2024-01-05 09:08:33 -05:00