We have mutliple notification types in our system, that are sharing part of structure between them.
interface Notification {
id: ID!
createdAt: DateTime!
causedBy: User
}
type UserAcceptedMyInvitation implements Notification {
We have mutliple notification types in our system, that are sharing part of structure between them.
interface Notification {
id: ID!
createdAt: DateTime!
causedBy: User
}
type UserAcceptedMyInvitation implements Notification {
Mamy dla Was zadanie, kt贸re pozwoli Wam zapozna膰 si臋 z Vue.js bli偶ej. Zach臋camy Was do spr贸bowania swoich si艂 i pochwaleniu si臋 tym co stworzyli艣cie.
Nasze warsztaty kierujemy do os贸b pocz膮tkuj膮cych, dlatego w 偶adnym razie nie oczekujemy od Was rozbudowanych rozwi膮za艅. Nie b贸jcie si臋 pokaza膰 tego, co uda艂o si臋 Wam zbudowa膰 w艂asnymi si艂ami :)
Dla 10-15 os贸b spo艣r贸d tych, kt贸rzy przy艣l膮 nam rozwi膮zania, przewidziane s膮 miejsca na praktycznych warsztatach, na kt贸rych dowiemy si臋 o kolejnych funkcjonalno艣ciach Vue.js oraz zaczniemy budowa膰 nasz膮 pierwsz膮 aplikacj臋. Dowiesz si臋 m.in:
| const renderChildren = children => | |
| React.Children.map(children, (child, idx) => { | |
| if (idx === React.Children.count(children) - 1) { | |
| return React.cloneElement(child, { | |
| last: true, | |
| }); | |
| } | |
| return child; | |
| }); |