Ask HN: Why React developers don't want to use UI builder?
I'm the author of Structor, it's really handy tool for creating UI for Web application with React components. In this article I made some introduction for Structor https://medium.com/@alex_pustovalov/structor-as-a-playground-for-react-applications-49accf4544b8#.n75e4q571
Also, I created something like a market for React components, it is convenient service which is integrated with Structor. Through this market developer can install any component into his project in form of source code generator - just like a big repository for components.
Till that time no one has tried to publish even the simplest component.
I'm really wondering, it so needless for developers to exchange with components quickly?
18 comments
[ 4.8 ms ] story [ 71.3 ms ] threadCertainly looks like a promising and very comprehensive project. I'm not using React right now but I've definitely bookmarked this to come back to. Good luck!
For open-source stuff, npm is pretty much the One True Way to distribute JS libraries these days. If I'm looking for a component, I'll expect to find it by google and install it from npm.
(As far as Structor itself, I'm not at all clear on what it's supposed to do for me. The article is very long and covers too much ground. I don't see myself as likely to use a UI builder in any case, though. My current React work is all with bespoke UI controls, look of which is given to me by a designer.)
The goal of Structor is to give a simpler way - open project, and if you want component try to install it through the market for 10 seconds. The problem - to have big amount of such components. For this I made convenient mechanism for publishing components generator.
BTW, generator can generate only the glue code (which you writing every time after you installed npm) and has the ability to install dependencies from npm automatically.
BTW, I _have_ heard of React Storybook (https://github.com/kadirahq/react-storybook) and happened to find OverReact (http://www.overreact.io/) which look similar at first glance. Can you give us a quick comparison?
Thanks for creating/introducing me to Structor... I'll look at it for new components. :)
Actually, Storybook is a lot simpler because Structor has convenient visual component composer. And of course, Structor uses source code generators with predefined boilerplates for Redux, Redux Saga.
Navigation between pages in Structor works with React Router. And you can export all pages with routes.
The main thing that is not liked by others is that Structor works with its own seed projects. But this is done only because Structor compile whole project.
As for looking for React components, my go-to site is generally https://js.coach, and sometimes searching on NPM.
And for my own components, I can't see how it'll be faster than just implementing them in my own project, or React Storybook.
On top of that, my experience with UI builders in the past has been that they're rather hard to work with and typing out the HTML myself is not only faster, but also more flexible and more likely to end up doing what I actually want... And probably with less code.
Not that I think it should be that way, that's just the psychology of programmers. Of course many don't realize that or won't admit it.
Also some programmers really haven't got the idea of code reuse through components. They don't understand how useful it is. But sometimes it also is in the first category of something that makes programming too easy so they don't want to be associated with that because they want to be known as an engineer that does hard things.
Also, even though people sometimes try new things on purpose, they usually do most things just because a lot of people are already doing that. So even if someone likes your system unless they perceive it as being popular already they may not use it.
I tried Structor briefly and while I liked the idea in principle, my tooling and requirements are changing too quickly and I do a better job keeping my dependencies up to date. I feel that adding an extra layer of complexity between or adjacent to my application and the dependencies I'm probably already pulling from npm/github is going to be viewed by many as needless when importing components from modules is painless enough as it is.
Still, I like your project and it has a lot of potential.