/dev-front

For React :)

Primary LanguageCSS

Front-lap

license vue vue

React-playBook

Convention

import React from "react";
import PropTypes from "prop-types";
 
 
const ErrorMsg = (props) => {
    return (
        <div className="mt-0-5rem fz-smler">
            <img
                className="error-stop"
                src="/static/img/global/stop.svg"
                alt="stop icon"
            />
            {props.text}
        </div>
    );
}
 
 
ErrorMsg.propTypes = {
    text: PropTypes.string,
    loginAttempts: PropTypes.number
};
 
ErrorMsg.defaultProps = {
    text: "",
    loginAttempts: 0
};
 
export default ErrorMsg;
โฏ feature   ๐ŸŒŸ  A new feature
  fix       ๐Ÿž  A bug fix
  docs      ๐Ÿ“š  Documentation change
  refactor  ๐ŸŽจ  A code refactoring change
  chore     ๐Ÿ”ฉ  A chore change

Start

  • git clone https://github.com/lllilllilllilili/dev-front.git
    cd react/hello-react
    npm i 
    npm start
    

How to study on your environment

  • git issue ํ™•์ธ

    • mission์— ๋งž์ถฐ ํ•ด๊ฒฐ
    • ์ถ”๊ฐ€ํ•˜๊ณ  ์‹ถ์€ mission์žˆ์œผ๋ฉด ์ถ”๊ฐ€
      • Mission - OOO (OOO์€ ํ•™์Šตํ•˜๊ณ ์ž ํ•˜๋Š” ํ•จ์ˆ˜ ํ˜น์€ ๊ธฐ๋Šฅ)
  • git checkout -b feature_missionํšŸ์ˆ˜_์ด๋ฆ„
    
  • git push ํ›„ PR, self-review ๋กœ ์ฝ”๋“œ ํ™•์ธ

  • mission ํšŸ์ˆ˜ ๋„˜์–ด๊ฐ€๋ฉด PR closed

FE Wiki

React Category

  • useState(#75, #78)
  • EventHandler(#76, #77)

License

The MIT License (MIT)

Copyright (c) 2018 skydoves

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

React Category

  • useState(#75, #78)
  • eventHandler(#76, #77)
  • ref(#80)
  • map, concat, filter(#81)
  • lifecycle(#82)