Skip to content

Instantly share code, notes, and snippets.

Robbin robba86

Block or report user

Report or block robba86

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@robba86
robba86 / password-check.service.ts
Created Apr 4, 2019 — forked from leewinder/password-check.service.ts
Typescript object for checking password strength
View password-check.service.ts
// Password strengths
export const enum PasswordCheckStrength {
Short,
Common,
Weak,
Ok,
Strong,
};
// Object to check password strengths and various properties
@robba86
robba86 / ParentChild.es6
Created Mar 14, 2018 — forked from sebkouba/ParentChild.es6
Basic example to pass values between parent and child components in React.
View ParentChild.es6
/**
* Basic example to pass values between parent and child components in React
* Seems to be in line with this
* http://stackoverflow.com/questions/24147331/react-the-right-way-to-pass-form-element-state-to-sibling-parent-elements
* Now I have the state in parent and child. Is that good or bad? Why would I need it in child?
* Could probably take that out
* */
class Parent extends React.Component {
constructor(props) {
super(props);
You can’t perform that action at this time.