5 ms·
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 th
by iorek_dev 4y 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" ?
- thecassandrist 4y agoComponents are only JS, aren’t they?
- onion2k 4y agoThey 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.