dsmurl
dsmurl
Explore posts from servers
TtRPC
Created by itsravenous on 5/16/2023 in #❓-help
Typing a shared TRPC provider for testing
Here is a repo that it shows up in. I can't beleive this is still a problem. https://github.com/dsmurl/an-express-next
10 replies
TTCTheo's Typesafe Cult
Created by dsmurl on 2/27/2025 in #questions
nextjs and express, dev but no build?
Why would the dev server work but not the build in a monorepo like this?
3 replies
TtRPC
Created by defaultgnome on 11/27/2024 in #❓-help
Best Monorepo Pattern for Sharing tRPC Logic Across Apps
I'm looking for a decent nextjs/trpc setup as well. But I am getting stuck on building next. it can't find the trpc context or something. here is my current project. https://github.com/dsmurl/an-express-next
7 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
Front: "@tanstack/solid-query": "^5.64.2", "@trpc/client": "^10.45.2", Server: "@trpc/client": "^10.45.2", "@trpc/server": "^10.45.2",
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
I'm using @trpc/solid-query
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
No description
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
I have a similar problem. I'm using pnpm workspaces and have a mono repo. I'm having that problem when I do const trpc = createTRPCProxyClient<TRpcAppRouter>({
42 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
I'm working with a company that is going to do some pilot projects in Solid as an addition to their current React work. So thanks for the help. I'll continue with my soildJs class now. Thanks for the time.
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
ok I think I get it.
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
ok cool, so long story short, the root object like person in this case is just kind of different that the sub peices and needs to be understood. That's why it, specifically, has a different behaviour for console.log. And if I want to print the root value of a store like the whole person, then I need to untrack that console.log during debugging?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
would the pointer to name not change?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
what about a produce that sets person.name = {first: "dan", last: 'swan"}?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
I guess person is just the pointer to the store which is a proxy object with all that magic stuff
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
ok so person isn't a property and doesn't have a signal?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
ok so only first and last are tracked as signals?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
ok so first and last are properties and person and name are not. So tracking person will be effected by changes in first?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
is the signal on person and person.name.first the same?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
because person is a complex proxy object? or maybe it's because I'm using 'produce"?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
so I guess the root of the question is, if I use an effect with console.log(person), that registeres the proxy object and when people change something like person.name.first, that effect with be re-fired even though person.name.first isn't referenced in the effect?
82 replies
SSolidJS
Created by dsmurl on 7/3/2023 in #support
Why does effect re-fire? How to use createStore values in effect correctly?
82 replies