@gondel/plugin-react
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,2 +6,19 @@ # Change Log | ||
<a name="0.0.6"></a> | ||
## [0.0.6](https://github.com/namics/gondel/compare/v0.0.5...v0.0.6) (2018-09-25) | ||
### Features | ||
* **core:** Allow to type _ctx ([0ee58fe](https://github.com/namics/gondel/commit/0ee58fe)) | ||
### BREAKING CHANGES | ||
* **core:** GondelBaseComponent constructor requires a ctx and a componentName argument | ||
<a name="0.0.5"></a> | ||
@@ -8,0 +25,0 @@ ## [0.0.5](https://github.com/namics/gondel/compare/v0.0.4...v0.0.5) (2018-09-19) |
@@ -10,3 +10,3 @@ /** | ||
protected setState(state: S): void; | ||
constructor(ctx: HTMLElement); | ||
constructor(ctx: HTMLElement, componentName: string); | ||
/** | ||
@@ -13,0 +13,0 @@ * Called immediately before mounting occurs, and before `Component#render`. |
@@ -27,4 +27,4 @@ var __extends = (this && this.__extends) || (function () { | ||
__extends(GondelReactComponent, _super); | ||
function GondelReactComponent(ctx) { | ||
var _this = _super.call(this) || this; | ||
function GondelReactComponent(ctx, componentName) { | ||
var _this = _super.call(this, ctx, componentName) || this; | ||
// Overwrite the current start method | ||
@@ -31,0 +31,0 @@ var originalStart = _this.start; |
{ | ||
"name": "@gondel/plugin-react", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Gondel Plugin to boot react widgets and apps", | ||
@@ -28,3 +28,3 @@ "bugs": "https://github.com/namics/gondel/issues", | ||
"devDependencies": { | ||
"@gondel/core": "^0.0.5", | ||
"@gondel/core": "^0.0.6", | ||
"npm-run-all": "4.1.3", | ||
@@ -36,3 +36,3 @@ "react": "16.3.2", | ||
}, | ||
"gitHead": "0d8485d41ce1df6aad516a5d46acfb16c5b1da8f" | ||
"gitHead": "fb4a4ad0c495d5320fc40253b6c294fb30020aad" | ||
} |
@@ -27,4 +27,4 @@ /** | ||
constructor(ctx: HTMLElement) { | ||
super(); | ||
constructor(ctx: HTMLElement, componentName: string) { | ||
super(ctx, componentName); | ||
// Overwrite the current start method | ||
@@ -31,0 +31,0 @@ const originalStart = (this as any).start; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25916