Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 05 2015 12:15
    Build #20 passed
  • Feb 05 2015 12:12
    Build #19 passed
  • Feb 05 2015 12:05
    Build #18 passed
  • Feb 05 2015 11:57
    Build #17 passed
  • Feb 05 2015 11:52
    Build #16 passed
  • Feb 05 2015 11:48
    Build #15 passed
  • Feb 05 2015 11:36
    Build #12 passed
  • Feb 04 2015 11:27
    @RossMerr moved RossMerr/Redux.Ranger#2 from Backlog to Done
  • Feb 04 2015 11:27
    @RossMerr moved RossMerr/Redux.Ranger#3 from Ready to Done
  • Feb 04 2015 11:27
    @RossMerr moved RossMerr/Redux.Ranger#4 from Ready to Done
  • Feb 04 2015 11:22
    Build #10 passed
  • Feb 04 2015 11:09
    @RossMerr moved RossMerr/Redux.Ranger#4 from Backlog to Ready
  • Feb 04 2015 11:07
    @RossMerr moved RossMerr/Redux.Ranger#3 from Backlog to Ready
Ross Merrigan
@RossMerr
test
Ross Merrigan
@RossMerr
more testing
Ross Merrigan
@RossMerr
testing
js
@js08
@all can you guys tell me when flux can and cannot used in web app
js
@js08
Hi in react can you guys Tell me how to send analytics data when page loads
js
@js08
Hi guys...can you tell me what kind of support we have for analytics through react-router
js
@js08
  • I have a react code
  • this code renders various panels in the UI.
  • when I click a tag, this function is called sportsCornerPanel()
  • but I am getting the Uncaught TypeError how to fix it
  • providing snippet code below.
  • whole code you can see it in the fiddle

https://jsfiddle.net/uvsx44j0/1/

code snippet

    sportsCornerPanel() {
        debugger;

        console.log("sportsCornerPanel"
        console.log("this.props.sportsPanelState.size-->" + this.props);

        if (this.props.sportsPanelState.size === 'hidden') {

            if (!this.props.sportsPanelState.visible) {
                this.props.dispatch(sportsOpenPanel());
            } else {
                this.props.dispatch(sportsClosePanel());
            }
        }
    }


    render() {


        let sportsContent, leftNavLink;

        if (this.props.sports-layout !== 'small') {
            console.log("SportsBox---page loads at bigger size");
            console.log("SportsBox---page loads at ipad size");
            sportsContent = <SportsBox className="sports-header"/>;
        } else {
            if (this.props.sportsPanelState.visible) {
                console.log("sportsPanelState--when it becomes small--around ipad width");

                sportsContent = <SportsBox className="sports-nav"/>;
                leftNavLink = <a onClick={this.sportsCornerPanel} href="javascript:;" className="header-navLink active"></a>;
            } else {
                if (this.props.sports.active) {

                    console.log("SportsBox");

                    sportsContent = <SportsBox className="sports-nav"/>;
                } else {

                    console.log("leftNavLink--when it becomes small--around ipad width");

                    leftNavLink = <a onClick={this.sportsCornerPanel} href="javascript:;" className="header-navLink"></a>;
                }
            }
        }


output

Uncaught TypeError: Cannot read property 'props' of null
js
@js08
Hi,
  • I am trying to learn react instead of writing the below function in html can we write separetely in react js
  • if so can you help me with little bit of explaination of how to write ..
  • providing my code below
    http://codepen.io/kk-/pen/RrmKmB?editors=0010
    <div className={`icon-search-container ${this.state.active ? 'active' : ''}`}>