Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Can anyone tell me the advantage of react? Never worked with it so don't have any opinion about it yet but heard about it here and there
-
@linuxxx React is a view library which lets you define components and have them reused wherever you want. Each component can have its own state and react makes sure the UI is always synced with the state. Re-render is insanely fast with react probably possible due to its virtual DOM.
Also, since each component is written in separate file, there is a less chance your code turns into spaghetti. However, there do exist best practices recommended to write better code; you might wanna check out "separating dumb presentational components and intelligent comtainer component".
What I like about react compared to other libraries is, it doesn't enforce its own convention and syntaxes that are apart from javascript itself (except for JSX). All you need is a good knowledge of js. For, JSX, you will pick it up right off the bat as it does not deviate much from HTML.
Finally, react is stupidly fun. Building UI had never been this fun for me, and hope you have fun too. Good luck. -
@absolutezero could u plzz tell me how to start developing desktop apps using electron .
Trying electron and react, amazing experience so far
undefined
electron
javascript
react