Skip to content

Instantly share code, notes, and snippets.

@cbrandolino
Last active January 20, 2017 13:24
Show Gist options
  • Save cbrandolino/dfce9d18a6b0ba7451842261c0db6761 to your computer and use it in GitHub Desktop.
Save cbrandolino/dfce9d18a6b0ba7451842261c0db6761 to your computer and use it in GitHub Desktop.
questions.md

REACT

What is wrong with this component?

  class MyComponent extends React.Component {

    getInitialState() {
      return { clickable: false };
    }
  }

Could you implement a select field with a functional component?

How would you specify a custom data structure in props?

ECOSYSTEM

Flux:

what is the difference between these two type definitions:

a: ?Array<string>
b?: Array<string>

Also, would this definition mean anything?

c: Array<?string>

Is ESLINT only a style checker?

Could you come up with an example of its use transcending the syntax domain?

List some different methods to style components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment