Vexcited
Vexcited
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
and it works perfectly !
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
I did
<Route path="/:me" component={PrivateDMLayout} matchFilters={{ me: /^@me$/ }}>
<Route path="/:me" component={PrivateDMLayout} matchFilters={{ me: /^@me$/ }}>
instead of
<Route path="/@me" component={PrivateDMLayout}>
<Route path="/@me" component={PrivateDMLayout}>
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
this was the way
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
thanks you !
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
No description
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
wouldn't it also catch up with the :guild_id one ?
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
would be kinda sad to use /me instead of /@me because of the router not capable of it
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
I'm writing a Discord client and I'm trying to match their structure and the @me is their identifier for the user's personal "guild" (basically private DMs)
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
wonder how i can make it work with the @ now...
17 replies
SSolidJS
Created by Vexcited on 8/23/2024 in #support
using id on route and named route breaks
this works !
17 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
not really, it's just to have a getter and setter that has the same name (and also same name as the prop it could get in the component) so i can just spread the props to the class from the component
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
thanks yall for the help ! don't know if i should close the post or not now
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
so the setText, setScene, ... are truly reactive
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
and now im able to do pretty stuff like this ✨
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
(very inspired from gsolid implementation)
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
on my bridge classes, i make a proxy for getX to get x() and setX to set x(value) and i just have a prop x on my component that gets spread to the bridged node instance
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
alright so i found a cleaner solution that seems to be working pretty good
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
if i need to add more context : when I do setX it'll automatically update the property X of the element on the JavaFX side so for example, if i run label.setText("something"); it'll automatically apply the text to the element and render it it's like doing element.innerText = "something" in a DOM
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
what do you really mean by "it ultimately depends on the shape of your reactivity graph whether transitions cluster within the same update of the graph" i think i don't know the exact meaning of "reactivity graph" or "transitions"
25 replies
SSolidJS
Created by Vexcited on 4/6/2024 in #support
Is it bad to have A LOT of `createEffect` in a single component ?
i wonder how we can benchmark the two solutions
25 replies