3 ms·
Components are not unique to react. Most template libraries have them.
by Scarbutt 7y ago
Components are not unique to react. Most template libraries have them.
- satvikpendem 7y agoNot to the same extent though. Usually they're provided as mixins which can be useful but aren't as powerful because there is programmaticity to them, they simply output HTML without consideration for the life cycle of a site, if any. Again, useful if your site is simple, but anything more and it gets complicated, even for a landing page as these days landing pages have a lot more dynamic parts.
- deleted 7y ago[deleted]
- ithrow 7y agothey simply output HTML without consideration for the life cycle of a site, if any. If you don't mind, as someone who is not familiar with react can you elaborate on the difference? What do you mean by life cycle of a site? In the template I use, I can organize all parts of a site as functions and compose/reuse them freely.