ovaleio / ovale-app

Bloomberg-like Terminal for Crypto
11 stars 2 forks source link

[ Spec UX Layout ] #96

Open slashbinslashnoname opened 5 years ago

slashbinslashnoname commented 5 years ago

Préalable

In progress

Layout

UX spec

In progress

Coding spec

Inclusion programmatique de composants

quote from facebook about inheritance (use HOC instead)

At Facebook, we use React in thousands of components, and we haven’t found any use cases where we would recommend creating component inheritance hierarchies.

Props and composition give you all the flexibility you need to customize a component’s look and behavior in an explicit and safe way. Remember that components may accept arbitrary props, including primitive values, React elements, or functions.

If you want to reuse non-UI functionality between components, we suggest extracting it into a separate JavaScript module. The components may import it and use that function, object, or a class, without extending it.
johnthillaye commented 5 years ago

Merci pour la spec.

Comment fonctionne le HOC ? Quel héritage reçoit le composant enfant ?

johnthillaye commented 5 years ago

Quick feedback

Feature:

Affichage:

johnthillaye commented 5 years ago

A garder en tête pour plus tard: