Commit Graph

12 Commits (179940d13c10f5ffcbda27071d0be35de267f28e)

Author SHA1 Message Date
cesare soldini 1826bcd3c6 Bugfix: thunk function called two times
PR 

* Separate test blocks with newlines
* Add a 🔴 failing test that highlights the bug, and some other more detailed tests on thunk renderings
* Fix the bug 
* Correctly gitignore files in base directory
The existing configuration was ignoring the same filenames in subdirectories, for example `test/thunk.js`
* Remove newlines between test blocks
* Make tests titles more explicative
Andre Staltz 091dc5f961
Migrate from CommonJS modules to ES2015 modules
paldepind 1ce3cd30d5 Update thunk API and documentation
paldepind 7075aea1d1 New thunk implementation
Sylvain Prat 2279d3cade More tests: nested thunks does not work yet
Sylvain Prat 2341c26e26 Don't assume the root node won't be replaced
Sylvain Prat 3305f8f253 Fixed tests again
Sylvain Prat 645303e986 Improved/fixed some tests
Sylvain Prat 2f878813b1 Added a bunch of failing tests for thunks
paldepind 7edc91325d Remove `emptyVnodeAt` – patch instead accepts DOM node
paldepind 5ae0836f21 Render `vnode` property if defined
paldepind a2f0d27417 Add thunk