반응형 패캠챌린지52 패스트캠퍼스 챌린지 14일차 (MobX) 22.2.6 (일) +14days MobX https://mobx.js.org/README.html Simple, scalable state manage ment A quick example import React from "react" import ReactDOM from "react-dom" import { makeAutoObservable } from "mobx" import { observer } from "mobx-react" // Model the application state. class Timer { secondsPassed = 0 constructor() { makeAutoObservable(this) } increase() { this.secondsPassed += 1 } reset(.. 2022. 2. 6. 패스트캠퍼스 챌린지 13일차 (Redux) 22.2.5 (토) +13days 1. Redux 총 3가지 타입의 공식 문서가 존재 Redux (https://redux.js.org/) React Redux (https://react-redux.js.org/) React Toolkit (https://redux-toolkit.js.org/) Getting Started with React Redux React Redux is the official React UI bindings layer for Redux. It lets your React components read data from a Redux store, and dispatch actions to the store to update state. API Overview Provider Rea.. 2022. 2. 5. 패스트캠퍼스 챌린지 12일차 (Mock Service Worker) 22.2.4 (금) +12days Mock Service Worker 모킹(Mocking)이란? Mock(모의 데이터)을 만들어서 활용하는 방식 통상적으로 data fetch를 해야하는 경우 통신을 통해 응답을 내려주는 서버가 있어야 함 서버가 없는 경우, API 요청으로 내려올 데이터를 프론트에서 모킹하거나 서버의 역할을 해주는 무언가(데이터 fetch 해보기 강의에서는 github)가 필요 MSW https://mswjs.io/ - Interception on the network level - Service Worker API - REST API & GraphQL support Examples Learn by inspecting how Mock Service Worker integrates with.. 2022. 2. 4. 패스트캠퍼스 챌린지 11일차 (Framer Motion) 2022.2.3 (목) +11days https://www.framer.com/motion/ Framer는 애니메이션, 터치 기반 제스처 및 스크롤, 페이징 및 인터페이스 흐름을 위한 여러 재사용 컴포넌를 제공하는 라이브러리이다. 아래는 공식문서에서 제공하는 기본 설치 방법과 몇몇 중요한 강의에서 언급하는 몇몇 중요한 코드 예제들만 작성했다. Installation npm install framer-motion Importing import { motion } from "framer-motion" Example import React from "react"; import { motion } from "framer-motion"; export default function Scale() { return (.. 2022. 2. 3. 패스트캠퍼스 챌린지 10일차 (React Spring) 2022.2.2(수) +10days react-spring react-spring is a spring-physics based animation library that should cover most of your UI related animation needs. It gives you tools flexible enough to confidently cast your ideas into moving interfaces. Installation yarn add react-spring Platforms @react-spring/konva @react-spring/native @react-spring/three @react-spring/web @react-spring/zdog Why springs and .. 2022. 2. 2. 패스트캠퍼스 챌린지 9일차 (Tailwind CSS) 2021.2.1 (화) +9days Tailwind CSS Tailwind CSS는 Utility-FIrst 컨셉을 가진 CSS 프레임워크다. 부트스트랩과 비슷하게 m-1, flex와 같이 미리 세팅된 유틸리티 클래스를 활용하는 방식으로 HTML 코드 내에서 스타일링을 할 수 있다. An API for your design system Utility classes help you work within the constraints of a system instead of littering your stylesheets with arbitrary values. They make it easy to be consistent with color choices, spacing, typography, shadows.. 2022. 2. 1. 패스트캠퍼스 챌린지 8일차 (Material UI) 2021.1.31 (월) +8days Material Design https://material.io/design Material Design Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences. material.io 머터리얼 디자인은 플랫폼 및 기기 전반의 시각적 요소, 모션 및 상호작용 디자인을 위한 포괄적인 가이드이다. 구글이 2014년 안드로이드 스마트폰에 적용하면서 알려지기 시작한 디자인 시스템이다. Material UI https://mui.com/ MUI:.. 2022. 1. 31. 패스트캠퍼스 챌린지 7일차 (React Bootstrap) 2021.1.30 (일) +7days React Bootstrap https://getbootstrap.com/ 굉장히 유명한 frontend open source toolkit jQuery와 강하게 결합되어 있음 / 반응형 웹 개발에 특화 기존의 Bootstrap을 React로 그래도 옮긴 버전이 React Bootstrap Installaion npm install react-bootstrap bootstrap@5.1.3 Importing Components import Button from 'react-bootstrap/Button'; // or less ideally import { Button } from 'react-bootstrap'; CSS {/* The following line can .. 2022. 1. 30. 패스트캠퍼스 챌린지 6일차 (Semantic UI React) 2021.1.29 (토) +6days Semantic UI React https://react.semantic-ui.com/ Introduction Semantic UI React is the official React integration for Semantic UI . jQuery Free Declarative API Augmentation Shorthand Props Sub Components Auto Controlled State Install $ yarn add semantic-ui-react semantic-ui-css ## Or NPM $ npm install semantic-ui-react semantic-ui-css import 'semantic-ui-css/semantic.min.css.. 2022. 1. 29. 패스트캠퍼스 챌린지 5일차 (AntDesign) 2021.1.28 (금) +5days AntDesign https://ant.design/ Installation $ npm install antd Usage import 'antd/dist/antd.css'; // or 'antd/dist/antd.less' Getting Started import React, { useState } from "react"; import { Alert, DatePicker, message } from "antd"; export default function GetStart() { const [date, setDate] = useState(null); const handleChange = (value) => { message.info( `Selected Date: ${v.. 2022. 1. 28. 패스트캠퍼스 챌린지 4일차 (Onsen UI) 2021.1.27 (목) +4days Onsen UI 모바일에 특화된 UI 라이브러리 https://onsen.io/ Onsen UI 2: Beautiful HTML5 Hybrid Mobile App Framework and Tools Native look and feel with lots of ready-to-use components and automatic styling A rich variety of UI components specially designed for mobile apps. Onsen UI provides tabs, side menu, stack navigation and tons of other components such as lists and forms. Th onsen.io .. 2022. 1. 27. 패스트캠퍼스 챌린지 3일차 (Emotion) 2021.1.26 (수) +3days emotion.js란? emotion.js는 CSS-in-JS의 종류 중 하나로 JavaScript 안에서 스타일을 작성할 수 있게 해준다. emotion.js는 주로 Framework Agostic과 React 두 가지 방식으로 사용된다. 공식문서 https://emotion.sh/docs/introduction Install # Framework Agnostic $ npm install @emotion/css # React $ npm install @emotion/react import emotion을 사용할 컴포넌트에 import 한다 /** @jsx jsx */ import { jsx, css } from '@emotion/react' /** @jsx jsx .. 2022. 1. 26. 이전 1 2 3 4 5 다음 반응형