TicTacMan
Is it possible to subscribe to particular properties in a object wrapped by a store?
The issue with my current example is that I need to maintain a separate array called "changedFields". Because on initial render, I would like field 3 to be empty since none of its dependencies have changed. the
If I had access to the old value of the store, I would not need changedFields
10 replies
Is it possible to subscribe to particular properties in a object wrapped by a store?
In this case, input field 3 depends on data properties 50-55.
Input field 1 changes property value 51 (so a change in field 1 should trigger an API call)
and input field 2 changes property value 66 (a change in field 2 should not trigger an API call)
10 replies
Is it possible to subscribe to particular properties in a object wrapped by a store?
Just a short description of what im trying to do:
The third input field is a calculated field whose dependencies are supplied via an array called dependencies.
Now I want to trigger an API call whenever any of the dependencies of the third field change
10 replies
Is it possible to subscribe to particular properties in a object wrapped by a store?
Inside the getCalculatedValue function in: https://playground.solidjs.com/anonymous/8597e5cc-d702-4f6d-b8c6-ff4320bd1694
10 replies
Is it possible to untrack writes to a signal?
Yeah Ideally I would have just created a signal for the value attribute of my input field, and in my function, directly manipulated that signal.
However, my page is pretty dynamic and sometimes the page could have upwards of 100+ input fields (think of an accountancy sales order entry page).
So I wanted to stay away from any solution in which each field has its own signal, because im not sure about the performance implications of having 100+ signals on my page
12 replies
Is it possible to untrack writes to a signal?
Yeah I was looking into that, but the docs state that untrack only untracks the reads and not writes.
https://www.solidjs.com/tutorial/reactivity_untrack
The problem for me is that since I set (write) the signal back to false in my function, it triggers a re-render
12 replies