3 ms·
JSX being transformed into JS allows you to test your logic (minus brower/acceptance testing) in node, even if you load css and do weird stuff with webpack. I a
by attrezzarturo 9y ago
JSX being transformed into JS allows you to test your logic (minus brower/acceptance testing) in node, even if you load css and do weird stuff with webpack. I am not looking at anything else until that is true for <put your backbone/angular evolution here>.
- ramses0 9y agoTake a look at this example of relatively complicated component-tests w/ markojs. It is an example of testing a transcluded component's variation (arguably very valuable and complicated to test) and all the code, setup, tests, etc. are very straightforward to understand. https://github.com/marko-js/marko/blob/master/test/autotests/components-browser/transclusion-body-slot-tag/test.js https://github.com/marko-js/marko/blob/master/test/autotests...