generated from mitchell/rust_template
Form Style Mutable #20
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MarinoDev/leptos_form_tool#20
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It could be a good idea to pass in a mutable reference to the form style to all the component render methods of the FormStyle. This would allow the rendering of one component to impact the rendering of a different component, or it could add some persitant mutable state.
I dont think this is a good idea. Leptos might re-render things which may update the style in a weird way. This seems like a bad idea.
However, I did implement this going off of commit
360ef63b58.Here is the diff