FE58 [Js] 무한 스크롤 1. 바닥에 도착 했을때 2021. 7. 31. [React] flex vs flexgrow https://stackoverflow.com/questions/35395691/understanding-the-difference-between-the-flex-and-flex-grow-properties Understanding the difference between the flex and flex-grow properties What is the difference in effect between setting flex: 1; and setting flex-grow: 1;? When I set the former in my code, the two columns I have display with equal width, while they do not do so when ... stackoverf.. 2021. 7. 8. [super props] TypeScript https://min9nim.github.io/2018/12/super-props/ export default class FilterForm extends React.PureComponent{ constructor(props){ super() console.log("props1",props) console.log("props",this.props) } static defaultProps = { } state : FilterState = { } componentDidUpdate(prevProps: FilterProps) { console.log("pre",prevProps); } onPressTouch = () =>{ // console.log(this.state.stateMessage); console... 2021. 7. 7. [react-saga] redux-thunk의 경우엔 함수를 디스패치 할 수 있게 해주는 미들웨어였지요? redux-saga의 경우엔, 액션을 모니터링하고 있다가, 특정 액션이 발생하면 이에 따라 특정 작업을 하는 방식으로 사용합니다. 여기서 특정 작업이란, 특장 자바스크립트를 실행하는 것 일수도 있고, 다른 액션을 디스패치 하는 것 일수도 있고, 현재 상태를 불러오는 것 일수도 있습니다. redux-saga는 redux-thunk로 못하는 다양한 작업들을 처리 할 수 있습니다. 예를 들자면.. 비동기 작업을 할 때 기존 요청을 취소 처리 할 수 있습니다 특정 액션이 발생했을 때 이에 따라 다른 액션이 디스패치되게끔 하거나, 자바스크립트 코드를 실행 할 수 있습니다. 웹소켓을 사용하는 경우 Channel 이라는 기능을 사용하여.. 2021. 6. 9. 이전 1 2 3 4 5 6 7 8 ··· 15 다음