8 Commits

Author SHA1 Message Date
15506fe890 v0.0.15: Function components 2020-06-09 00:25:27 +02:00
b95e5506d2 v0.0.11: Added unit-tests, solved the key={...} problem, updated the build/watch configuration of CSX to be able to build minified and non-minified bundle outputs, as well as a CJS version of lib/ (for consuming in Node-environment, like Jest). The previous tests were renamed to examples, and should still need to be updated. 2020-04-14 11:54:30 +02:00
4ca54727f1 Fixed a bug relating to custom-elements's first vnode where render(){ return <div class="example" /> } would set the example-class on the custom-element itself.
Added support for className and style similar to react
Cleaned up some comments
Reworked how tests are built in order to add a new test "pdf" which was a small side-project where previous mentioned bug showed up, it's an example using HTML to create a PDF for printing
2019-12-21 21:48:38 +01:00
93fb6927ca Updated CSX package version and the yarn.lock files 2019-11-30 19:36:15 +01:00
e4eef2cc1a Prop-decorators and supporting DOMElements as VNodes in the renderer 2019-11-29 23:06:05 +01:00
651a96a227 Built with our own fork of babel, whoo! (this fork is usable in external projects when building CSX-projects, it's class-properties proposal + decorators actually works...) 2019-11-15 01:36:08 +01:00
72f38c1137 Make sure to actually use yarn to install the main-packages, otherwise the packages.json#resolutions property will not be used and @babel/helpers would not get overruled
Overruled @babel/helpers to fix how initializers play with decorated properties. Thus circumventing the imperformant and lengthy code being generated by babel in the non-legacy option.
2019-11-05 21:11:01 +01:00
8ae591810a Initial version to monorepo-setup to start experimenting with, featuring a fork of @babel JSX-transformation, and a crude VDOM>DOM rendering-step. The Custom-Elements part is just a placeholder at this point but ready to be populated with base-classes and decorators. 2019-10-21 23:22:25 +02:00