dillon1000/react

Commit

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.
Browse files
Changed paths3 files
First-parent comparison
M jest/preprocessor.js ModifiedM package.json ModifiedA src/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee Added
Patch

Files changed

Rendering syntax-highlighted changes…