Posts by Lucas Duarte • 99 points
6 posts
-
1
votes1
answer2373
viewsA: Error: Module not found: Can’t resolve 'React-Redux' in
Which package manager do you use? This package could be in node_modules, but if you’re not in package.json or in the cache file of dependency/package managers (yarn.lock or package-lock.json). Try…
-
6
votes2
answers2451
viewsA: React, why use props in the constructor?
In React, when creating a statefull component, you must extend a Native Javascript Class, with the React.Component getting: class Container extends React.Component { render() { return ( <div>…
-
0
votes1
answer34
viewsA: need to pass this Cod to Angularjs someone knows how to help me
It is recommended by the Angularjs documentation to control events via directives, but I will post two examples so that you see which one will suit your case: Via Directive var app =…
angularjsanswered Lucas Duarte 99 -
1
votes1
answer555
viewsA: Assign value to a variable in a controller and do not modify the value of the $Scope variable
In Javascript variables are passed by reference, then if the variable viagemPersistencia the saved copy of viagem will also be impacted. Making a reference copy (angular.copy), a new object is…
-
0
votes1
answer49
viewsA: Ui.Router loads/imports JS files, but buttons lose functionality
The template does not recognize the widgets, because the directive data-widget-grid cannot contain itself in another div. I resolved only by removing the directive data-widget-grid of children.…
-
1
votes1
answer49
viewsQ: Ui.Router loads/imports JS files, but buttons lose functionality
The template Smartadmin uses lazyScript to import the JS files, it works, it matters all right, but when I navigate between the pages the Ui buttons, stop working. angular.module('app.analytics',…