Content pfp
Content
@
0 reply
0 recast
2 reactions

Juuso pfp
Juuso
@juuso
I paid someone else to bootstrap the frontend, so to check on the work I did a status page for demo.homestakeros.com during the weekend. Coincidentally, I learned new React hotness after like 8 year break from it. I also broke the mobile view. I still hate frontend development with frameworks.
1 reply
0 recast
0 reaction

Juuso pfp
Juuso
@juuso
I dont know if its common practice, but it seems like React kind of prefers each component to fetch its own data. I would imagine its better to have a single global state and then pass fragments of it down the stack. But then you have to deal with async I/O, and Promises, and Either or Option datatypes.
1 reply
0 recast
0 reaction

Juuso pfp
Juuso
@juuso
Also, I feel like I dont quite understand UI frameworks anymore. Like the mobile view just keep on breaking without it being clear why. I understood Bootstrap when web design was a hot mess of CSS divs, but with grid and flexbox I almost rather write the CSS later myself. Well structured HTML usually gets you 80% there
0 reply
0 recast
0 reaction