Comments (2)
.with()
can be called on any signal whose value isn't Clone
, i.e.,
error.with(|value| logging::log!("{value:?}"));
We are probably slightly working across each other at this point, as the error
signal is being removed on ActionForm
in favor of simply using the action
's .value()
signal, which it currently duplicates (i.e., the Err
condition in that signal) #2158
I need to reply to your comments in your PR and will do that soon.
from leptos.
Using value instead of error should simplify things for me quite a bit. Thanks for letting me know.
from leptos.
Related Issues (20)
- const support in `#[server]` macro endpoint field HOT 2
- [0.7] Panic on `SSR` refresh when reactive value accessed in `on_cleanup` HOT 2
- [0.7] Store field getters should inherit `pub` modifier from their respective fields HOT 5
- [0.7] Implement `Into<Signal<T>>` & `Into<MaybeSignal<T>>` for stores and their fields HOT 2
- `view!` macro panics when encountering an invalid character literal HOT 2
- [0.7] Panic at HtmlElement::hydrate HOT 3
- [0.7] Suspend inner runs twice, causing double-render of returned View HOT 13
- [0.7] ErrorBoundary doesn't work with Suspend
- Double fetch when starting at `ParamSegment` at some route belonging to `ParentRoute`, navigate to parent and back down
- beta5 problems
- [0.7] Storing a new item in the arena while holding a shared reference to an arena-allocated item fails HOT 2
- [0.7] Large HTML trees can cause stack overflows in debug mode with no useful error message HOT 4
- [0.7] LocalResources loaded in islands do not trigger Suspense in non-island parents HOT 2
- `Signal<T, S = SyncStorage>` doesn't implement `Track` HOT 5
- [0.7-beta5] Islands hydration issue (unique ID problem) HOT 3
- Double navigation cause desync beetween `Location::pathname` and the actual URL HOT 1
- [0.7] initial state of signal not read for dynamic classes HOT 2
- [0.7] Resource lacks `Debug`
- Compilation failed due to server_fn, no method found HOT 2
- Issues with runtime crashes when using ProtectedParentRoute HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leptos.