Commit Graph

157 Commits (v3.3.0)

Author SHA1 Message Date
Ryota Kameoka 50ff2db407
feat: support JSX fragments (#974)
ISSUES CLOSED: #560
3 years ago
Ryota Kameoka 9e2cecd249
chore(docs): add a documentation for `fragment` function 3 years ago
Toby Mao e54012e811
chore(docs): remove outdated note about eventlisteners from README
This functionality was always unnecessary, because the example could be done with a curried function for example:
```js
function makeEventListener(number) {
    return (event) => console.log("button " + number + " was clicked!");
}
```

ISSUES FIXED: #988
3 years ago
George Treviranus ecc87ab07e
chore(docs): add additional JSX usage information (#967) 4 years ago
Jan van Brügge 07f768c5a6
chore(docs): explain how to setup JSX with snabbdom 4 years ago
Jan van Brügge f98d64b90a
chore(docs): reformat README with prettier 4 years ago
Jan van Brügge 7af7e3f684
feat: export everything from 'snabbdom'
ISSUES CLOSED: #913, #748
BREAKING CHANGE:
The imports of snabbdom functions have changed. Every file in the
project had to be imported on its own, e.g.
```
import { h } from 'snabbdom/h'
import { VNode } from 'snabbdom/vnode'
```
Now, the main snabbdom package exports all of the public API like
```
import { h, VNode } from 'snabbdom'
```
This means consumers of the snabbdom package need to update their
imports. The change makes the use of the `exports` field in
`package.json` unnecessary, which caused issues for TypeScript users
4 years ago
Shahar Or (mightyiam) e22a369ce2 docs(docs): add WebCell to readme 4 years ago
Shahar Or (mightyiam) 2d88e73c13 chore(deps): update eslint packages 4 years ago
Shahar Or (mightyiam) 4730583ed2 docs(docs): svg title 5 years ago
patomation 7e198493c1 fix(docs): gitter badge url
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
patomation d790f97bef docs(eventlisteners): correct eventlisteners section title
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
patomation 4a78787da7 docs(style): `transition-property:all` not supported
closes #38

Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Shahar Or (mightyiam) 90bbc3f559 ux(docs): add an OpenCollective banner to readme
Closes #567.
5 years ago
Shahar Or (mightyiam) 09f2d1ca5a ux(exports): replaced main export path with init
BREAKING CHANGE: The main export path, 'snabbdom' was replaced with
the export path 'snabbdom/init'. This new export path includes only
the named export `init`.

Reference: #522.
5 years ago
Shahar Or (mightyiam) fefd141f5f ux(exports): only named exports
BREAKING CHANGE: No default exports exist. All exports are named.

Fixes #522.
Fixes #523.
5 years ago
Shahar Or (mightyiam) f4e7885663 ux(docs): enable eslint rule semi 5 years ago
Shahar Or (mightyiam) 2d455b52dc ux(docs): enable eslint rule quotes 5 years ago
Shahar Or (mightyiam) 23e7b87c64 ux(docs): enable eslint rule space-before-function-paren 5 years ago
Shahar Or (mightyiam) 9f2d2d7a16 ux(docs): enable eslint rule space-before-blocks 5 years ago
Shahar Or (mightyiam) 37512fe8ee ux(docs): enable eslint rule quote-props 5 years ago
Shahar Or (mightyiam) 9a45b5b22a ux(docs): enable eslint rules object-*-newline 5 years ago
Shahar Or (mightyiam) e2861bb1bd ux(docs): enable eslint rule indent 5 years ago
Shahar Or (mightyiam) 8b8fbd5e34 ux(docs): enable eslint rule object-curly-spacing 5 years ago
Shahar Or (mightyiam) 8179381a77 ux(docs): enable eslint rule no-multi-spaces
Fixes #692.
5 years ago
Shahar Or (mightyiam) a128a23ac3 ux(docs): enable eslint rule max-statements-per-line 5 years ago
Shahar Or (mightyiam) 349b686bd8 ux(docs): enable eslint rule key-spacing 5 years ago
Shahar Or (mightyiam) cd3a5cf17e ux(docs): enable eslint rule import/newline-after-import 5 years ago
Shahar Or (mightyiam) 17cf7ae931 ux(docs): enable eslint rule import/first 5 years ago
Shahar Or (mightyiam) 77e54e9105 ux(docs): enable eslint rule array-bracket-spacing 5 years ago
Shahar Or (mightyiam) 41cb3596e8 dx(docs): lint code examples 5 years ago
Shahar Or (mightyiam) 3b6baee049 ux(docs): fix wrong module import paths
Fixes #691.
5 years ago
Veaceslav Grimalschi 045b496872
Removed duplicate 'h' import in README.md (#689) 5 years ago
Shahar Or (mightyiam) 6f316c141b fix(props): do not attempt to delete node properties
BREAKING CHANGE: props module does not attempt to delete node
properties. This may affect you if you are using the props module
to add non-native (custom) properties to DOM nodes. Instead, it is
recommended to use _data-* attributes_.
https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes

Fixes #623.
Fixes #283.
Closes #415.
Closes #307.
Closes #151.
Closes #416.
5 years ago
Shahar Or (mightyiam) dad44f0d63 feat: only esm and correct import paths
BREAKING CHANGE: CommonJS module are no longer provided.
BREAKING CHANGE: import paths in ES modules include file name
extensions.
BREAKING CHANGE: Compiled to ES2015 (was ES5).

Fixes #516.
Fixes #437.
Fixes #263. Kind of. Because there is no build step.

Thanks to @mreinstein on starting this work.
5 years ago
Shahar Or (mightyiam) 76fdeb98a6 docs: update maintenance policy 5 years ago
Serhii Khoma d9c4abd7c5
docs(thunk): describe renderFn invocation condition
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Serhii Khoma 0522408f43
docs(core): explain uniqueness of key property
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Shahar Or (mightyiam) 11e9b04e67 chore(deps): update dependency remark-cli to v8 5 years ago
Shahar Dawn Or 97a8d50013
docs: rm unimplemented unmounting by 2nd arg null (#539)
Fixes #461.
5 years ago
Shahar Dawn Or 5014e65cca
Merge pull request #490 from snabbdom/remark
docs: introduce remark and some readme tweaks
5 years ago
Toby Mao f5486713b0
Update README.md 5 years ago
Toby Mao f277d64eed
Add Snabberb to README. 5 years ago
Shahar Or (mightyiam) 0cc0064a94 docs: introduce remark and some readme tweaks
Fixes #483.
5 years ago
Simon Friis Vindum 8edc47fe75
Merge pull request #393 from jscissr/patch-1
Replace broken SVG classes example in readme with link to classList polyfill
5 years ago
Sachin Philip Mathew c2e66b5eb1 removed broken link of Benchmark from readme 5 years ago
Shahar Or (mightyiam) a907828f12 chore: editorconfig + checker 5 years ago
Shahar Or (mightyiam) 21511f3058 docs: maintenance policy
Fixes #462.
5 years ago
Simon Friis Vindum ae3703d1a4 Add travis badge to readme and BrowserStack message 6 years ago
Simon Friis Vindum 8787d60221
Merge pull request #392 from trusktr/patch-1
make it obvious how to unmount
6 years ago