Greg Johnston
1563d237d0
Check uniqueness of server function names at registration time ( #388 )
...
* Check uniqueness of server function names at registration time, and stop leaking src file path in release mode
* Fix missing dev-dependency
2023-01-27 06:57:32 -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
Greg Johnston
62812af5b2
Allow unused cx
in server fn arguments ( #385 )
...
* Suppress warning for unused `cx` in server function arguments
2023-01-26 21:43:39 -05:00
Greg Johnston
f300e7fd41
implements From<Signal<T>>
for MaybeSignal<T>
( #384 )
2023-01-26 21:43:21 -05:00
Greg Johnston
44974fcf69
Replace site-address
with site-addr
in cargo-leptos
example Cargo.toml
files
2023-01-26 19:52:47 -05:00
Gentle
815c2e6dc2
leptos_axum::handle_server_fns was also duplicated ( #383 )
2023-01-26 15:53:31 -05:00
Roland Fredenhagen
2fc20d8312
added hgroup
element ( #379 )
2023-01-26 15:05:58 -05:00
Gentle
679692e202
cloning is not needed here ( #381 )
2023-01-26 13:05:44 -05:00
Gentle
be1343fa88
refactor to eliminate duplicate code ( #380 )
2023-01-26 13:04:59 -05:00
Greg Johnston
fc7199f188
Fix context in outlets ( #374 )
...
* Add `Scope::parent()` to make access to parent `Scope` possible.
* Handle context properly in nested routes
2023-01-25 22:02:43 -05:00
Markus Kohlhase
154e42f3f4
Add a counter example that does not use macros ( #373 )
2023-01-25 21:10:16 -05:00
Ben Wishovich
4c24795ffd
Make Errors Sync ( #372 )
2023-01-25 20:15:47 -05:00
IcosaHedron
f2e7b00d5a
Fix CSR with Trunk on hackernews example, remove CSR option from isomorphic example ( #369 )
...
* Fix CSR with Trunk on hackernews example
* Update isomorphic example to remove CSR from Readme
2023-01-25 20:15:12 -05:00
Markus Kohlhase
0b36b68846
Replace urlencoding with percent-encoding ( #365 )
...
Motivation: `percent-encoding` is from the Servo team and part of the `url` crate.
2023-01-25 20:15:00 -05:00
Ben Wishovich
f24bad4bf2
Add <Show/> component to avoid rerendering of closures and tweak ErrorBoundary ( #363 )
...
Add once_cell to leptos, and add Show component! Modify ErrorBoundary to
take a closure that implements IntoView, not View
2023-01-24 10:58:25 -05:00
Greg Johnston
a2ea1d8483
Reorganize snake-case #[component]
docs and please clippy
( #362 )
2023-01-23 11:14:04 -05:00
Ben Wishovich
9b0fb63632
Add methods to take Actix/Axum Extractors/Route Info/Stuff and pass it to Leptos ( #359 )
2023-01-23 07:28:05 -05:00
Greg Johnston
2febaf6b99
Merge pull request #358 from martinfrances107/bump_base64
...
leptos_reactive base64 bump version to 0.21.
2023-01-23 07:27:01 -05:00
Greg Johnston
6c8e8e9ce7
Merge pull request #353 from martinfrances107/redundant_clone
...
Clippy fixes: redundant clone and .to_string() issues.
2023-01-23 07:26:50 -05:00
Martin
7aa0181192
Removed unused variables.
2023-01-23 09:46:28 +00:00
Martin
8496bd59ce
leptos_reactive base64 bump version to 0.21.
2023-01-22 22:15:54 +00:00
Greg Johnston
fd6e63796e
Merge pull request #354 from jclmnop/feat/allow-snake-case-components
...
Allow snake case components
2023-01-22 16:46:47 -05:00
jclmnop
39cddfc82d
update docs for component macro
2023-01-22 17:13:24 +00:00
jclmnop
d1333a3402
modify component attribute macro to allow snake_case fn names
2023-01-22 14:04:36 +00:00
Martin
7f9919e2d5
Clippy fixes: redundant clone, .to_string() issues.
2023-01-22 14:03:15 +00:00
Greg Johnston
fc2d6ef19d
Merge pull request #343 from killertux/fix/fix-query-params-parser
2023-01-21 17:23:39 -05:00
Greg Johnston
a5531b1a7c
Merge pull request #338 from benwis/error-handling
...
ErrorBoundary Component
2023-01-21 16:03:48 -05:00
benwis
81ab77e8ea
One more time!
2023-01-21 11:54:55 -08:00
benwis
23bd399239
I did, I did break it
2023-01-21 11:25:36 -08:00
benwis
3e04318082
Remove extra
2023-01-21 10:58:47 -08:00
benwis
2d88524354
Wrap cfg_if to prevent on_cleanup from panicing on the server
2023-01-21 10:56:38 -08:00
Greg Johnston
ecb784e422
Merge pull request #352 from leptos-rs/gbj-patch-1
...
Update html.rs
2023-01-21 13:07:07 -05:00
Greg Johnston
69e02bfce2
Update html.rs
...
Yikes! Fix broken format string.
2023-01-21 13:07:00 -05:00
Greg Johnston
a75abb9e04
Merge pull request #351 from leptos-rs/view-styling
...
Add support for `class = ...`, in `view` macro to support scoped styling
2023-01-21 12:56:21 -05:00
Greg Johnston
bf1ef1b7c2
Fix missing {} after cleaning up unnecessary formats
2023-01-21 11:42:52 -05:00
Greg Johnston
7fb7bb90f8
Merge pull request #350 from leptos-rs/fix-script
...
Add SVG `<script>`, `<style>`, and `<title>` to set of ambiguous elements
2023-01-21 09:52:53 -05:00
Greg Johnston
a22a693de7
Add support for class = ...,
in view
macro to support scoped styling solutions
2023-01-21 09:52:05 -05:00
Clemente
cbb1e4c9d2
Update docs
2023-01-21 11:19:28 -03:00
Clemente
dbccf525ac
Added some tests
2023-01-21 11:17:25 -03:00
Greg Johnston
ed6d6ae4b0
Add node_ref
to docs
2023-01-21 07:26:06 -05:00
Greg Johnston
89ee88d75e
Add SVG <script>
, <style>
, and <title>
to set of ambiguous elements — closes #349
2023-01-21 07:23:32 -05:00
benwis
9ea604f516
Merge branch 'main' into error-handling
2023-01-20 15:53:18 -08:00
benwis
b5ab7b107a
Test of SSR/Hydration of ErrorBoundary
2023-01-20 15:52:43 -08:00
Clemente
18eecd9606
Use URLSearchParams to handle client side query param logic
2023-01-20 18:11:49 -03:00
Greg Johnston
a49dfd3f8e
Merge pull request #344 from leptos-rs/view-ssr
...
Reenable optimizations for SSR using the `view!` macro
2023-01-20 15:14:06 -05:00
Greg Johnston
7075f58451
Merge pull request #347 from imalexlab/doc/add-port-leptos-watch
...
doc: add link for leptos watch
2023-01-20 14:29:19 -05:00
Kompreni
bcabdddce5
doc: add link for leptos watch
2023-01-20 20:14:09 +01:00
Greg Johnston
726393c446
Fix SSR tests
2023-01-20 13:45:23 -05:00
Greg Johnston
c336eb8769
0.1.1
2023-01-20 13:24:05 -05:00
Greg Johnston
0f5f0de410
Merge pull request #346 from leptos-rs/suspense-comments
...
Change `<Suspense/>` to a specialized type that uses comments for SSR
2023-01-20 13:18:41 -05:00