leehaeun0 / react_learn Goto Github PK
View Code? Open in Web Editor NEWLearn React
License: MIT License
Learn React
License: MIT License
늦게까지 열심히 하셨네요 ㅎㅎ
그런데 코드를 보니 엘리먼트에 id를 부여해서, html과 js 때 처럼 선택자로서 활용하고 계시더라구요!
물론 가능합니다만, 프로젝트가 커질수록 SPA에선 문제가 될 수 있습니다(빈번히 발생합니다)
그래서 특정 엘리먼트를 지칭하기 위해(되도록 피하지만) ref라는 개념을 적용합니다
이에 유념하시고 id로 엘리먼트를 지칭하는 것에 너무 익숙해져버리지 마시길 바랍니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.