Commit ddd289b
committed
Bump version to 0.0.4
- Fix void element bug (#14)
- Void elements like <img> should not have any children
(even an empty array `[]` counts as children)
- Pass `key` to the `replace` method as the second parameter
- Prevent React "key" warning
- Update tests, mocks, and helpers
- Update README with update on `replace` method1 parent 20177ee commit ddd289b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments