-
Notifications
You must be signed in to change notification settings - Fork 0
/
frontendclassdiagram.txt
52 lines (52 loc) · 1.11 KB
/
frontendclassdiagram.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@startuml
class Component {
state: Object
props: Object
render(props, state): HTML
componentDidMount()
componentWillUnmount()
getDerivedStateFromProps(nextProps, prevState): Object
shouldComponentUpdate(nextProps, nextState, nextContext): Boolean
getSnapshotBeforeUpdate(prevProps, prevState): Object
componentDidUpdate(prevProps, prevState, snapshot)
}
class App {
state: Object
props: Object
render(props, state): HTML
componentDidUpdate(prevProps, prevState, snapshot)
}
class Home {
state: Object
props: Object
render(props, state): HTML
}
class SearchBar {
state: Object
props: Object
render(props, state): HTML
}
class SearchResults {
state: Object
props: Object
render(props, state): HTML
componentDidMount()
componentDidUpdate(prevProps, prevState, snapshot)
}
class TrailDetail {
state: Object
props: Object
render(props, state): HTML
}
class Filters {
state: Object
props: Object
render(props, state): HTML
}
App -d-|> Component
Home -d-|> Component
SearchBar -d-|> Component
SearchResults -u-|> Component
TrailDetail -u-|> Component
Filters -u-|> Component
@enduml