dillon1000/react
Commit
Browse files Add CoffeeScript Class Test
As part of the new class effort it is now possible to define React Components using any type of generic JavaScript class syntax. This includes CoffeeScript. This test ensures that we don't regress that support, and also serves as an example for using React in CoffeeScript. This test fail trails the ReactES6Class-test file. Some manual tweaking is required when converting tests.
Changed paths3 files
First-parent comparisonjest/preprocessor.js ModifiedM package.json ModifiedA src/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee AddedPatch
Files changed
Rendering syntax-highlighted changes…