Re:Show HN: I built a 4kb alternative to React, Vue, etc for...
by defx on Thursday January 07, 2021 @08:32PM
(#25680275)
RE: Would one extract .js scripts as modules to reuse custom components? Yes, you can certainly do that. the define function supports both template element nodes or strings, so you can work directly in a HTML document (the web will be getting HTML imports before too long) or do it all in JS and publish to NPM.
[ Parent
| on HN ]
There are no comments on this comment yet.