re: React vs Preact? VIEW POST


Could you elaborate on this opinion? I was considering using Preact in the next project and would like to know more :)


First time heard of Moonjs. You learn something new every day

You hear about new frameworks every day. It's more like looking at different boxes of morning cereal xD


We have tried mithril before and it was quite frustrating... Lemme tell you the story

We wanted a simple framework for SPA, esp. once we saw that Flarum was quitely amazing done using mithril.

We started using it, but problems started to appear...
Docs are good but once you run into problems they're not enough, and ooops not many people use mithril and StackOverflow has not much on it; so, we were on our own.

That was a bit okay until we realized there was an issue in mithril itself (can't remember what it was), and the issue was discussed on github, it took about two weeks till they fixed it 🙄

I know it's an opensource thing but we couldn't afford with pull requesting the fixes to mithril cuz we needed speed... For financial reasons.

For our team that was it, we moved into Vue.js cuz of the small learning curve and the popularity... we can't be happier since then.


Its a story with of holes. I don't doubt it may have been frustrating.

It depends on what version of Mithril you were using when you say X didn't work. Before version 1 you had to be comfortable understanding the underlying architecture of web-frameworks.

I can build my own web-framework in a weekend so my perception of easy may be skewed.

What I like about mithril codebase is its an incredibly small and sane framework.

I can open it up read, repair and debug any problem that I could have and I can't say the same for Vue, Angular or React.

Sadly Mithril will be a footnote because the developer ecosystem and plugins are not there.

Vue I would say is the framework I hate the most.
Vue does not play well with Typescript
Vue is painful to turn into isomorphic javascript.
The quality and consistency of their plugins are terrible (looking at you Axios).
Vue architectural choices makes it poor for automation.

Angular I would say is the framework that is most productive, convention and well documented. I don't care for its size or how it bought into some of the concepts that React purports as what needs to be in a web-framework but you can't win them all.

I am cursed with all this web-framework knowledge and so I tend to avoid web-frameworks all together.

Code of Conduct Report abuse