Publish to my blog (weekly)

ScalaActions - 2.6.x It is often useful to mark the request parameter as implicit so it can be implicitly used by other APIs that need it: A controller in Play is nothing more than an object that generates Action values. Controllers are typically defined as classes to take advantage of Dependency Injection . Posted from Diigo . The rest of my favorite links are here .

Publish to my blog (weekly)

♛ Delta Backup react-router/Switch.md at master · ReactTraining/react-router <Switch> is unique in that it renders a route exclusively . In contrast, every <Route> that matches the location renders inclusively . Consider this code: "고객 분석부터 사기 방지까지"··· 머신러닝 최신 성공사례 3가지 - CIO Korea 더 나은 고객 통찰 많은 기업처럼 유에스 뱅크(U.S. Bank)도 상당한 양의 고객 데이터를 수집했다. 그리고 역시 대부분 은행과 마찬가지로 이런 데이터로부터 실행 가능한 통찰을 얻기 위해 노력하고 있다. 예를 들어, 고객이 유에스 뱅크의 웹사이트에서 담보 대출에 관한 정보를 검색했다면 다음에 이 고객이 지점을 방문...

Publish to my blog (weekly)

Facebook just changed the license on React. Here’s a 2-minute explanation why. sue 고소하다. infringing 침해하는 banning 금지하는 litigation 소송 spurred 박차를 가하다. ...

Publish to my blog (weekly)

Where to Fetch Data: componentWillMount vs componentDidMount There are two common places to fetch data:      componentWillMount   componentDidMount In practice, componentDidMount is the best place to put calls to fetch data , for two reasons: Reselect로 React와 Redux 성능 향상시키기 – 불펌 오역 블로그 이것이 의미하는 바는 getItemsWithTotals가 처음 실행될 때는 계산된다는 것이다. 만약 다시 한번 같은 함수가 불렸는데 입력(getItems의 결과)이 변경되지 않았다면, items와 합계에 대해 캐시된 계산 결과를 리턴할 것이다. 만약 아이템이 수정되었다면( 아이템이 추가되거나, 수량이 변경되거나, getItems의 결과에 영향을 주는 어떤 일이든), 함수는 다시 실행될 것이다. Posted from Diigo . The rest of my favorite l...

Publish to my blog (weekly)

8 Best ReactJS Admin Templates For Your Next Project | AZMIND 5. Angle – Bootstrap Admin Template Top 10: Best Premium ReactJS Admin Templates | Our Code World 9. SPIN 8. Beyond Admin 3. Rubix Inspinia Bootstrap 3+ Framework ReactJS Posted from Diigo . The rest of my favorite links are here .

Publish to my blog (weekly)

함수형 setState가 리액트(React)의 미래이다(Functional setState is the future of React) | vobour 보버 - 블로그형 SNS 그의 트윗을 유의해서 보자. 함수형   setState 쓸 때 ... 업데이트는 큐(queue)에 쌓이고 추후에 호출 된 순서대로 실행된다.  따라서 리액트가 객체를 머지(merge)하는 대신 "여러 함수형 setState 호출"를 만나면 (물론 머지 할 객체가 없다) 리액트는 "호출 된 순서대로"함수를 큐에 넣는다.  그 후 리액트는 "큐(queue)"의 각 함수를 호출하여 상태를 업데이트하고 이전 상태, 즉 첫 번째 함수형 setState () 호출 이전 상태를 전달한다 (첫 번째 함수형 setState () 인 경우).  만약  첫 번째 함수형 setState () 호출이 아니라면,  큐 내의 이전의 함수형 setState () 호출로부터 최신 갱신된 상태를 전달한다.  [React.JS] 강좌 5편 컴포넌트의 State 와 Props 사용하기 | VELOPERT.LOG parent 컴포넌트에서 child 컴포넌트로 데이터를 전할 때, props 가 사용됩니다. ...

Publish to my blog (weekly)

Higher-Order Components - React Concretely, a higher-order component is a function that takes a component and returns a new component. Whereas a component transforms props into UI, a higher-order component transforms a component into another component. HOCs are common in third-party React libraries, such as Redux's connect and Relay's createContainer . // This function takes a component...   function withSubscription ( WrappedComponent , selectData ) {   // ...and returns another component...   return class extends React . Component {   constructor ( props ) {   super ( props );   this . handleChange = this . hand...