Giter Site home page Giter Site logo

week3_react's Introduction

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

week3_react's People

Contributors

shinbyoungwoo avatar

Watchers

 avatar

week3_react's Issues

comment

  • 삭제시 새로고침을 해야만 목록에서 사라지는 현상은 SPA방식과 맞지않다는 부분은 정확히 이해하고 계신것 같습니다. 그렇다면 어떤문제가 되어서 그런지 찾아야하는데 우선 첫 번째로 현재 작성하신 post의 ducks 구조를 위에서부터 천천히 읽어보시는게 중요합니다.

  • 현재 제대로 작동하지 않는 이유는 action creators와 reducer의 상관관계로 보이네요. action creators에서 payload에 어떤걸 지금 전해주고있고 그걸 reducer에서 제대로 받아서 사용하고 있는지를 확인해보시는게 좋을것 같습니다.

  • 아직 redux 사용이 많이 익숙하지 않으셔서 그럴거에요! 각각 action, action creators, middleware, reducer가 어떤 역할을 하고있고 어떤식으로 서로 상관관계가 있고 데이터를 주고받는지를 천천히 따라가보시고 공식문서들을 참고해서 공부해보신다면 많은 도움이 되실거라고 생각합니다.

  • 그리고 추가적으로 redux와 상태관리에 대해서 공부해보시면 직접 사용하는데도 도움이 많이될겁니다. 왜 이걸 사용하고 있는지에 대해서 이해하고 쓰는것과 아닌것은 많은 차이가 있기 때문에 redux에 대한 공부도좋고 포괄적으로 상태관리 라이브러리를 왜 사용하는지 그리고 어떤 장점이 있는건지에 대해서 찾아보신다면 더 높은 이해도를 바탕으로 사용하실수 있을거라고 생각해요 🙂

comment 2

과제 마무리하느라 수고많으셨습니다 👏

  • post 삭제가 새로고침 후에 적용이 된다는 건, Firebase는 제대로 적용이 되고 있다는 뜻이겠죠? 그렇다면 문제는 redux store인데, deletePostFB에서 delete() 이후부터 잘 살펴보시게 바랍니다. 생각보다 단순한 곳에서 실수가 있을 수 있으니, 당연히 문제없다는 부분도 확인해보시면 좋을 것 같습니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.