r/ProgrammerHumor • • Sep 03 '26 • Bravo 1

Meme weGotCompilingToReactBeforeGTA6

Post image
568 Upvotes

73 comments sorted by

View all comments

68

u/ErnieBernie10 Sep 03 '26

What the hell is this even useful for

71

u/analytic-hunter Sep 03 '26

I thought the same, but thinking about it a bit and it could make sense for making libraries

things like material UI

21

u/Necessary_Mail9698 Sep 03 '26

So it’s actually used to maintain SDKs for different JS frameworks. You write it once and you’ve got the SDK for each framework. It’s part of company called Builder.io, which has a CMS product and they have SDKs to dynamically render websites. They use mitosis to maintain the SDKs.

14

u/SaeculumObscure Sep 03 '26

Might make it easier to switch from one framework to another without having to rewrite your entire codebase first?

45

u/-Redstoneboi- Sep 03 '26

first you'd have to write it in mitosis

44

u/Prudent_Ad_4120 Sep 03 '26

In three months, you'll have to rewrite it for Mitosis 2, a complete redesign of the framework!

20

u/[deleted] Sep 03 '26

[removed] — view removed comment

16

u/-meowstar- Sep 03 '26

Then a big company will fork Mitosis 2, call it “Meiosis”, and a partially incompatible competing ecosystem will develop around it.

2

u/aaaasimar Sep 04 '26

We considered this tool in a previous role which relied very heavily on a cshtml pages and SEO was critical. It allows you to build a front-end experience in a modern framework, which is then "compiled" down to individual components of static JS and CSS (instead of an whole app bundled together), so they can be ported page-by-page into the main app.

0

u/razor_train Sep 03 '26

Burning tokens.