Hacker News new | ask | show | jobs
by iorek_dev 1439 days ago
I think there is great value if you sell this to all the small web agencies.

But it is a bit misleading to say it will copy a component. Components are more than HTML/CSS.

Maybe rephrase it in "templating" ?

1 comments

Components are only JS, aren’t they?
They usually are but don't have to be. If you only copy the JS you'll miss any HTML content in the page that the React component uses for hydration, any CSS that's linked rather than defined in the component, any code that sits outside of the React structure, anything that comes down over an API or a socket, etc.

Itd be possible to build a React app that has very little React code in it, but it'd also be weird.