issues Search Results · repo:altjs/connect-to-stores language:JavaScript
Filter by
9 results
(61 ms)9 results
inaltjs/connect-to-stores (press backspace or delete to remove)I am using react 15.4.1 and this function (connectToStores) uses React.createClass which is deprecated. In fact in the
console I get this warning:
Warning: StatefulWhateverComponent: React.createClass ...
reberan
- 1
- Opened on Jun 30, 2017
- #11
when accessing child component by this.refs.mycomponent , it is supposed to be a react component instance, but if
MyComponent is exported by
export default connectToStore(MyComponent)
this.refs.mycomponent ...
OYangXiao
- Opened on Jul 29, 2016
- #9
I came across the following Warning in my app
Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. ...
dchartfield
- 4
- Opened on Feb 2, 2016
- #7
I ve been trying to solve a timing problem with loading indicators (https://github.com/goatslacker/alt/issues/594) and
placing my alt action call inside of componentDidConnect seems to fix the issue, but ...
lsanwick
- 1
- Opened on Jan 16, 2016
- #6
The module use require( react ) causing an error when using react native
maxs15
- 3
- Opened on Jan 14, 2016
- #5
Hi,
I have this code :
@connectToStores
class App extends React.Component {
static getStores() {
return [UIStore, RouteStore];
}
static getPropsFromStores() {
return {
...UIStore.getState(), ...
moimael
- 1
- Opened on Jan 4, 2016
- #4
In the example code,
const MyComponent = React.createClass({
statics: {
getStores(props) {
return [myStore]
},
getPropsFromStores(props) {
return myStore.getState()
}
}, ...
schtauffen
- Opened on Dec 17, 2015
- #3
I have this simple code:
import React from react ;
import Store from ../stores/Store ;
import Actions from ../actions/Actions ;
import connectToStores from alt/utils/connectToStores ;
@connectToStores ...
mqklin
- 3
- Opened on Nov 23, 2015
- #2
I ve never seen an @ inside of a name before. Does this come within the alt package?
peterpme
- 6
- Opened on Oct 27, 2015
- #1

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.