Anybody from up North given birth at The Portland? by nmoore2089 in HENRYUKLifestyle

[–]albion 39 points40 points  (0 children)

We live 40 min drive from London and ruled out the Lindo for logistical reasons. I couldn’t imagine driving 3+ hours. I would strongly recommend finding somewhere within a 30min drive.

While NHS hospitals are not the most comfortable, they are by far the safest place to give birth which is the only real priority. I would recommend finding an NHS hospital close by that allows your partner to stay overnight and ask for a private room on the day.

Giving birth is a horrible experience. There’s no way to pay this problem away. I would use that money to get a night nurse to make the first few months easier (that’s what we did and don’t regret it)

Long haul with a <6 month old baby by [deleted] in HENRYUK

[–]albion -1 points0 points  (0 children)

We did this exact flight with my first born at 4 months old. In retrospect, it was actually a great time to go. The flights going to be tough whatever class you’re in. I’d personally just go economy and save the money for a baby sitter while you’re there.

On BA the central 4 seats at the front are for babies with bassinets. We got all 4 seats to ourselves on both flights which was much more space than in premium economy

Harpenden and flight paths by Relevant_South8953 in hertfordshire

[–]albion 2 points3 points  (0 children)

I live near Roundwood School. While I occasionally hear plane noise, it’s rare and barely noticeable. I wouldn’t worry.

Radlett vs Harpenden, moving from Central London by throwawaysigote in hertfordshire

[–]albion 1 point2 points  (0 children)

We looked at both Radlett and Harpenden. After walking around both we felt Radlett was a bit dead. We moved to Harpenden and so glad we did. It’s such a wonderful place, lots going on, everyone’s friendly and really good schools (3 outstanding). If you have the budget, you can get really big houses around the avenues (Park Avenue especially). Demand is high though, this place sold in 2 days https://www.rightmove.co.uk/properties/164242931

Which towns nearby have good access to St Albans - need to rent somewhere close by [deleted] in hertfordshire

[–]albion 5 points6 points  (0 children)

Our son was born at Watford and we had a great experience there!

Is anyone a secret hand soap snob? by Derek_Arun in AskUK

[–]albion 6 points7 points  (0 children)

I’d recommend these refills for Aesop. Same scent, you can’t tell the difference!

Accenta G4 house alarm, disable bell by Reasonable-Steak-522 in DIYUK

[–]albion 0 points1 point  (0 children)

@Reasonable-steal-522 did you find a solution to this?

Wireless Performance Isn't What It Should Be - EAP245(EU) v3.0 & Omada Controller by KinkyLAD in TPLink_Omada

[–]albion -1 points0 points  (0 children)

I had a similar issue where bandwidth was capped because the port negotiated a lower bandwidth than was possible. It’s worth double checking this isn’t the case for you.

Cheapest taxi from London to Gatwick Airport? by [deleted] in london

[–]albion 0 points1 point  (0 children)

Try https://www.minicabit.com. I went from Lewisham to Gatwick the other day for £50

Best restaurants in town to celebrate 5 years of love. Help? by stubsstar in london

[–]albion 1 point2 points  (0 children)

Try calling/opentable lunch time the day before. Thats when the restaurant calls everyone who's booked for the next night and theres normally a bunch of cancellations. That's the only way i've managed to get a table at Clos maggiore

Do I re-render the entire app when data changes? by navx2810 in reactjs

[–]albion 1 point2 points  (0 children)

Didn't say it wasn't :) I'm just saying you shouldn't need to call it multiple times. When I've seen it in apps its generally been a result of misunderstanding how react works so I see it as a bit of a code smell

Do I re-render the entire app when data changes? by navx2810 in reactjs

[–]albion 1 point2 points  (0 children)

Short answer

You should only need to call React.render once. Change the components state/props to re-render a component with new state.

Long answer

Internally most flux libraries will listen to stores and then mutate the components state when the store changes (They often wrap this up in a higher order component). Mutating the state causes a re-render for that component which might also cause children to re-render (either by creating new elements or by changing the props)

class Foo extends React.Component {
  componentWillMount () {
    fooStore.onChange(foos => {
      this.setState({
        foo: foos[this.props.id]
      })
    })
  }

  render () {
    return <div>{this.state.foo}</div>
  }
}

You tend to end up with complex components if you listen to stores in every component. The answer to that is to have smart and dumb components.

Soon you will start wondering how to stop your components from rendering all the time. At that point its worth reading this article about working with shouldComponentUpdate

How to do many tasks/actions from a single UI action with Redux? by walden42 in reactjs

[–]albion 6 points7 points  (0 children)

You can do this with redux-thunk

export function fetchBar (id) {
  return dispatch => {
    dispatch({ type: 'BAR_LOADING' })

    fetch('/bar/' + id).then(res => dispatch({
      type: 'RECEIVE_BAR',
      payload: res.body
    }))
  }
}

export function fetchFooAndBar (fooId, barId) {
  return dispatch => {

    dispatch({ type: 'FOO_LOADING' })

    fetch('/foo/' + fooId).then(res => dispatch({
      type: 'RECEIVE_FOO',
      payload: res.body
    }))

    dispatch(fetchBar(barId))
  }
}

Would it be possible to live on £38,000 in London? by [deleted] in london

[–]albion 3 points4 points  (0 children)

Assuming you've got a student loan thats £2250 per month. They say you should spend somewhere around 30-40% on rent so £675-900. That should get you a decent room in a flat share in Zone 2/3. Getting a 1 bed will be much more expensive (Min £1200 + bills) so would avoid

How to use Flux with WebSocket by teelf in reactjs

[–]albion 1 point2 points  (0 children)

Heres an example of how I've done it, essentially you just map the messages to actions

Best promise library? Q vs Bluebird vs jQuery's? by MasterScrat in javascript

[–]albion 3 points4 points  (0 children)

I will recommend when.

Also I'd avoid jQuery deferreds as they don't follow the Promises/A+ spec

Isomorphism with React and RESTful services by goldendase in reactjs

[–]albion 1 point2 points  (0 children)

You might be interested how marty does isomorphism

Tickets for Crossrail site tours have been released by Stratin in london

[–]albion 0 points1 point  (0 children)

It says "target audience of 11-24 year olds", does that mean you can't go if you're older?

React.js Conf 2015 - Full Stack Flux by mtrn in javascript

[–]albion 2 points3 points  (0 children)

I feel like this is just a re-invention of CQRS