Skip to content

Conversation

bobjoe12131
Copy link
Contributor

@bobjoe12131 bobjoe12131 commented Oct 2, 2025

I dont know how to write it right now, but im thinking, make the fetching lazy. have a "use" function that is for /user/status, and another for the regular index_json. If you use user and then index, the index upgrades the context from the one from user to the one from index. If it can't, then it panics. Frame can use the new user one.

I think the app panics in the app DataLoader. Somehow the loading needs to be put in a lazy thing.

At some point i will revert the first commit, and then throw stuff at this problem.

update: progress is happening

@bobjoe12131
Copy link
Contributor Author

Ok, i split some of the functions up. The page doesn't want to render for me though. Something is wrong with how the ripped out makeRefresher is used, or how it is fetching, or something else. I might try to debug it some more, but i don't understand the react magic much, so yeah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant