kandi X-RAY | todo-mvc Summary
kandi X-RAY | todo-mvc Summary
todo-mvc
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of todo-mvc
todo-mvc Key Features
todo-mvc Examples and Code Snippets
Community Discussions
Trending Discussions on todo-mvc
QUESTION
I like what I see from React - but whenever I hear about it's countless plugins and modules, I actually wonder how much more functionality it has that I have not seen yet, because I haven't actually actively worked with React yet (though I did with JSX through a Babel plugin).
Personally, I wonder how "heavy" React is. My goal is to keep my client-side code as small as possible - I even am considering to render templates on the server for the main pages, and leave smaller templates to the client - so that I have an as complete as possible "shell" being sent from the server to the client, which then enlarges itself as the user progresses through the app. Usually, when I saw usecase examples of React, I saw people render everything on the client - for which, I am sure, the client-side code becomes really, really huge.
So before I make any further assumptions of contents that I do not actually know precisely, I would like to see how much React takes alone. For an example consider an easy boilerplate like the ToDo-MVC-ish examples: A router, a couple of controllers, and a couple of views/templates.
...ANSWER
Answered 2018-Nov-24 at 06:02You can see it here in React 16 blog:
- react is 5.3 kb (2.2 kb gzipped), down from 20.7 kb (6.9 kb gzipped).
- react-dom is 103.7 kb (32.6 kb gzipped), down from 141 kb (42.9 kb gzipped).
- react + react-dom is 109 kb (34.8 kb gzipped), down from 161.7 kb (49.8 kb gzipped).
You may also check here further.
If you would like you may install webpack bundle analyzer which will allow you to analyze separate modules like you can see in the image:
Or, webpack visualizer:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install todo-mvc
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page