nesquick 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,7 +97,7 @@ class NesquickComponent {
97
97
  }
98
98
  _renderPropsNs(attributes, element, props) {
99
99
  for (const k in props) {
100
- if (k !== "children" && k !== "xmlns") {
100
+ if (k !== "children" && k !== "xmlns" && k !== "ref") {
101
101
  if (typeof props[k] === "function") {
102
102
  if (k.startsWith("on")) {
103
103
  element[k.toLowerCase()] = props[k];
@@ -131,7 +131,7 @@ class NesquickComponent {
131
131
  ;
132
132
  _renderProps(element, props) {
133
133
  for (const k in props) {
134
- if (k !== "children" && k !== "xmlns") {
134
+ if (k !== "children" && k !== "xmlns" && k !== "ref") {
135
135
  if (typeof props[k] === "function") {
136
136
  if (k.startsWith("on")) {
137
137
  element[k.toLowerCase()] = props[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nesquick",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "React-like library with focus on drawing performance",
5
5
  "types": "./lib/types",
6
6
  "main": "./lib",