readlight / readlight-landing Goto Github PK
View Code? Open in Web Editor NEW리드라이트 랜딩페이지입니다(구버전)
Home Page: https://readlight.me
리드라이트 랜딩페이지입니다(구버전)
Home Page: https://readlight.me
저번 커밋에 포함되어 있는 내용인데 issue등록을 안해놨네요
-> 보니까 utils/Emoji.tsx같은데 보면 아직 type으로 되있는거 보면 모든 파일이 다 바뀐건 아닌거 같습니다
참고
https://velog.io/@velopert/create-typescript-react-component
-> 화살표 함수에서 interface로 props타입 강제하기
const A = ({props1, props2} : Props) => { ... }
장기적인 관점에서 봤을 때 로직을 제어하기 더 어렵게 만들 것 같음
Props, Styled-components에 props을 넘겨줄 때 등 type선언자와 interface를 불규칙화게 사용하고 있음.
어떨 때 type을 사용하고, 어떨 때 interface를 사용하는지 알아본 후 일관되게 적용하도록 수정
헤더 관련된 컴포넌트 목록
불필요한 코드 리팩토링 및 네이밍 필요
-> 이에따른 상위 컴포넌트 수정도 필요함
Atom컴포넌트 안에 다음과 같이 직접 고정적인 데이터를 저장하고 받아오는 props로 변경해서 사용함
const textData = [ '하루 한권, 인공지능이 당신의 독서 취향을 분석해 책을 추천해줍니다.', '리드라이트 큐레이터들이 최근의 이슈나 트렌드에 맞는 책들을 엄선해 제공합니다.', '독서 결정에 도움을 줄수 있도록 큐레이터가 책을 읽고 작성한 칼럼을 제공합니다.', ];
-> 상위 컴포넌트에서 받아올수 있도록 변경 필요
error message: JSX element type '...' does not have any construct or call signatures typescript
-> 아마 라이브러리와 타입스크립트간의 미묘한 불일치로 인해 그런듯
-> 임시로 ScrollTriggerWrapper를 any타입으로 만들어 해결
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.