News for hackers. Stuff that matters.
Re:React is a fractal of bad design by mattigames on Wednesday March 08, 2023 @10:23AM (#35070103)
Yes I do, the only language I use for my personal projects is Typescript; I think JSX, .vue, .svelte they are all a mistake, JS is more than enough if you really need to use it to compose html.

    div('#wrapper',
        div('.container',
            span('.big', `It's not that hard`),
            button('.red', {route: home}, 'Home!')
        )
    )
Re:React is a fractal of bad design by sli on Wednesday March 08, 2023 @04:10PM (#35074771)
You should give Clojurescript a serious look. You can use that approach, but the resulting code is... well, readable.
Re:React is a fractal of bad design by mattigames on Wednesday March 08, 2023 @05:54PM (#35075923)
There is nothing readable about JSX, "<" will always mean minus-than and ">" will always be greater-than.