Devesh pfp
Devesh
@deveshb15
have been facing header size too long issue when trying to display some data on frame when i add remove one of the <div> which has the data component it works fine, is it because the parent div becomes too big and it creates this problem? @dalechyn.eth
1 reply
1 recast
4 reactions

Vladyslav Dalechyn pfp
Vladyslav Dalechyn
@dalechyn.eth
Try using Image Handler.
1 reply
0 recast
3 reactions

Devesh pfp
Devesh
@deveshb15
it’s not setting the state for some reason, in /img it just logs the initial state in which everything is null anything wrong in here?
1 reply
0 recast
0 reaction

Vladyslav Dalechyn pfp
Vladyslav Dalechyn
@dalechyn.eth
is this the first frame interaction on GET request? if so, there is no state to be used so it uses the initialState you defined. If it's a POST request, can you please check the route it requests an image for? here's a diagram to better see the state flow in frog
1 reply
0 recast
1 reaction

Devesh pfp
Devesh
@deveshb15
got it, thank you, seems like this won’t work for me instead of previousState can i use params or query objects to get the data? /img/JSON.stringify(myArray) would that work? i just need to send an array to /img to generate the ui
2 replies
0 recast
1 reaction