Fusion icon indicating copy to clipboard operation
Fusion copied to clipboard

Convert For to use State Objects

Open funwolf7 opened this issue 2 years ago • 1 comments

Initial prototype I made for #220 to get an idea of how it might work.

Introduces the GenericFor constructor (random name, subject to change). It internally uses Computeds to make use of the reactive graph in a simple way. Some preliminary testing was done, but much more is needed.

The issue I mentioned in #220 is still a problem as we will need to determine which method will be used to solve it.

funwolf7 avatar Oct 15 '23 23:10 funwolf7

For what it's worth, I'm now looking to implement much of this on the backend as part of #273. I don't plan to expose it as a usable API in that PR specifically, but perhaps once that work is done it could be leveraged for a public API somehow.

dphfox avatar Nov 26 '23 20:11 dphfox

Since the backend for this is now merged, I'm going to close this PR.

To implement this, all that's needed now is the front end, which renders most of this work obsolete.

dphfox avatar Apr 15 '24 12:04 dphfox