Skip to content

Instantly share code, notes, and snippets.

View vsavkin's full-sized avatar

Victor Savkin vsavkin

View GitHub Profile
import { Home } from '@happynrwl/shared-components';
import React from 'react';
export const Index = () => {
return (
<>
<Home />
<div>the rest of the component</div>
</>
);
};
happynrwl/
├── apps/
│ ├── tuskdesk/
│ └── tuskdesk-e2e/
├── libs/
│ └── shared-components/
│ ├── src/
│ │ ├── lib/
│ │ │ ├── home.css
│ │ │ ├── home.tsx
happynrwl/
├── apps/
│ ├── tuskdesk/
│ │ ├── pages/
│ │ │ ├── index.css
│ │ │ └── index.tsx
│ │ ├── jest.conf.js
│ │ ├── tsconfig.json
│ │ ├── tsconfig.spec.json
│ │ └── .eslintrc
import { Message } from '@happyorg/api-interfaces';
apps/
agent/
agent-e2e/
api/
tickets/
tickets-e2e/
libs/
api-interfaces/
ticket-list/
import { TicketList } from '@happyorg/ticket-list';
apps/
api/
tickets/
tickets-e2e/
libs/
api-interfaces/
ticket-list/
src/
lib/
apps/
api/
src/
app/
main.ts
jest.config.js
tsconfig.json
.eslintrc
tickets/
function talksReducer(state: TalksState, action: Action) {
switch(action.type) {
case '[Talks] Talks Updated':
talksAdapter.addAll(talks, { ...state, filters });
//...
}
}
export interface TalksPartialState {
readonly talks: TalksState;
}