Skip to content

Instantly share code, notes, and snippets.

View bogdanjsx's full-sized avatar

Bogdan Ștefan bogdanjsx

  • Bucharest, Romania
View GitHub Profile
if (this.props.component) {
findDOMNode(this.refs[`componentName-${this.props.component}`])
.scrollIntoView({ behavior: 'smooth' });
}
class ReduxProxy extends React.Component {
constructor(fixture) {
super();
this.store = createStore(fixture[fixtureStoreKey]);
}
getChildContext() {
return {
store: this.store,
};
#include<stdio.h>
int main()
{
printf("Hello\n");
return 0;
}