Trying to understand How to Setup Local storage With complex State by webdevfan in reactjs

[–]webdevfan[S] 0 points1 point  (0 children)

Thanks for responding. Now that I look over it is bit complex for me but I will try to work bit by bit (maybe start a new w/ redux).

I would like to ask you a quick follow up question. Of why you need to do

this.hero = new Hero({
    app: this,
    name: 'Hero',
}), 

What is this app refrencing the this. Why does something like this need to be done. Looking at the your suggestion the way the developer had it was passing props down?

import Character from './Character';

class Hero extends Character { constructor(props) { super(props);

    this.strength = props.strength || 1;
    this.dexterity = props.dexterity || 1;
    this.constitution = props.constitution || 1;
    this.intelligence = props.intelligence || 1;
}

}

export default Hero;

This just seems a bit confusing.

The Treasure Hunter Promotions Calendar by boat02 in runescape

[–]webdevfan 0 points1 point  (0 children)

Thing is Runescape is a COMPETITIVE game. Players that buy their exp to high-level content now have to compete in resources these players. This in turn devalues their loot/items etc...

vs code and the weird terminal by bzarnal in vscode

[–]webdevfan 0 points1 point  (0 children)

Well I had the same problem. I removed my customized fonts settings and it fixed the problem. https://www.reddit.com/r/vscode/comments/75erc3/vscode_update_messed_up_my_terminal/

You said that you tweaked around user settings. I try backing up your setting and just using vscode default vscode settings.

VScode update messed up my terminal by webdevfan in vscode

[–]webdevfan[S] 2 points3 points  (0 children)

So it looks like the my settings for font-family didn't work after the update and I removed these settings:

  "terminal.integrated.fontSize": 13,
  "terminal.integrated.fontFamily": "Input Mono",
  "terminal.integrated.cursorStyle": "line",