Re:Exact – a new cross platform UI framework by the Expo team
by satvikpendem on Tuesday November 10, 2026 @01:53AM
(#50436931)
For 1, you're supposed to break up more complex logic like that into functions and variables, so that acts as a forcing function which works as intended. For 2, 99% of HTML is just fine, just className would be different but it's not a big deal in practice.
[ Parent
| on HN ]
Re:Exact – a new cross platform UI framework by the Expo team
by halflife on Tuesday November 10, 2026 @05:22AM
(#50438289)
I’m not talking about complex logic. Because simple conditions, iteration or switch statements are not supported with classic control flow.
Re:Exact – a new cross platform UI framework by the Expo team
by satvikpendem on Wednesday November 11, 2026 @07:36AM
(#50452690)
That's complex logic. You shouldn't be switching on the UI layer like that.