Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why use react? #476

Open
pengcc opened this issue Mar 19, 2020 · 1 comment
Open

Why use react? #476

pengcc opened this issue Mar 19, 2020 · 1 comment

Comments

@pengcc
Copy link
Collaborator

pengcc commented Mar 19, 2020

React helps the developer to implement the UI with Component hierarchies. A component should ideally only do one thing, such a technique is the single responsibility principle.
React allows developers to create large web applications that can change data, without reloading the page. The mission of a component is to render UI. But it's hard to see that the current components are following the basic principle of the react. Why is it necessary to reloading each complete page? And why there is a component Language, which almost totally has nothing to do with the UI, the code can be simply moved to utils as function to be exported.

@zhaofeng-shu33
Copy link
Member

docsite is based on React.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants