Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Nubelle
    3. Posts
    • Profile
    • Following 31
    • Followers 31
    • Topics 177
    • Posts 727
    • Best 239
    • Controversial 2
    • Groups 6

    Posts made by Nubelle

    • What is Svelte? New Frontend Framework in 2020

      d003cc13-276e-4a40-932c-8bedf3ee06cb-image.png
      Svelte is the hot new front-end framework that has become the talk of the town among web developers. In the recent State of JS survey of 2019, it has been predicted to be the up-and-coming technology that may take over other frameworks like React and Vue in the next decade.

      What is different in Svelte?

      Svelte converts your app into ideal JavaScript at build time, rather than interpreting your application code at run time.

      Key Features

      Here are some of the key features of Svelte, and also the key differences from other frameworks.

      No Virtual DOM
      In React and Vue we use the Virtual DOM. There is an elaborate post we wrote earlier explaining Virtual DOM that you can checkout to understand how the Virtual DOM works. Svelte does not use the virtual DOM concept, and instead shifts the work into a compile step that happens when you build your app.

      With Svelte the code is compiled into small framework-free vanilla JavaScript code. It is guaranteed to be smaller, and faster and does not require the use of a Virtual DOM.

      Less Code
      Who doesn’t like writing less code. The lesser the code, the lesser the bugs. I am not talking about cramming all your code into unreadable chunks of code. I am talking about writing less code, without hampering readability. Svelte was created with a goal to reduce the amount of code that developers write. With other modern frontend frameworks, there is quite a bit of boilerplate code that comes with it.

      Let’s look at an example to see how Svelte compares with React. Let’s look at an example to update local component state using React and Svelte.

      React

      // Update state in React
      const [count, setCount] = useState(0);
      
      function increment() {
        setCount(count + 1);
      }
      

      Svelte

      // Update state in Svelte
      
      let count = 0;
      
      function increment() {
        count += 1;
      }
      

      You can see how a lot of code has been cut out in Svelte.

      In React, we would either have to use the useState hook, or set state using setState. Whereas in Svelte, this got drastically simplified. You can update the state with the assignment operator directly.

      This aspect of writing less code using Svelte is highly appealing to me. I am sure this is one of the top reasons for the increased interest in this new framework.

      Reference

      posted in Front-End Development
      Nubelle
      Nubelle
    • RE: Say Hello through React

      welcome brothers

      posted in Meetups & Workshop Sessions ( Free & Paid )
      Nubelle
      Nubelle
    • Say Hello through React

      83796335_10159384993071562_8830476443025670144_o.jpg

      Our first Meetup has arrived! We are looking forward to seeing as many of you as we can!

      This Meetup group is for all tech enthusiasts that have a keen interest in everything React.js, the JavaScript library created by Facebook that has taken over the Front-End Development market.

      What to expect?
      First meetup will provide insights into the basics of React and cover how we structure a solution, additional libraries we can use, etc.

      Date : Wednesday, February 12, 2020 at 5:30 PM – 7 PM
      Place : Calcey Technologies , AC19 · Colombo

      posted in Meetups & Workshop Sessions ( Free & Paid )
      Nubelle
      Nubelle
    • RE: Angular වලට use කරන npm packages HTML වලට use කරන්න පුළුවන්ද ?

      @root @dev_lak menna meya dannwa

      posted in Web Development
      Nubelle
      Nubelle
    • RE: Adobe Illustrator Logo Designing [Sinhala] | Class No-02

      Patta bro

      posted in Graphic Design & Video Editing
      Nubelle
      Nubelle
    • RE: වෙබ් සයිට් වලට වදින bot traffic වලින් බෙරෙන්න cloudflare firewall rules හදගන්න විදිහ.

      thanks broo ,

      posted in General Discussion
      Nubelle
      Nubelle
    • RE: C Programming මුල සිට ඉගෙනගනිමු (part 16 - C functions)

      Thanks bro

      posted in Blogs
      Nubelle
      Nubelle
    • RE: CMBJS 2020: January Edition

      welcome all

      posted in Events ( Free & Paid )
      Nubelle
      Nubelle
    • RE: CMBJS 2020: January Edition

      You are welcome bro

      posted in Events ( Free & Paid )
      Nubelle
      Nubelle
    • CMBJS 2020: January Edition

      1a236342-404c-44fa-a8fe-18f7928e0e41-image.png

      Details

      First event of the year. After issues with finding venue partner for the meetup got delayed long time. We are back and will try keep this monthly as venue permits.
      We have 2 sessions planned and first announced talk is,

      Redux Controllers - Less verbose Redux for people who love typescript - Ragularuban Ruban from Alakazam.

      Building Desktop Applications with Javascript - Salitha Suranga from 99X Technology.

      Please only RSVP if you are able to make it. Since we have limited seating capacity.

      Date: Thursday, January 23, 2020
      6:00 PM to 8:00 PM

      Location:
      Lee Hedges Tower
      349 Colombo Rd · Colombo
      11th Floor

      Register

      posted in Events ( Free & Paid )
      Nubelle
      Nubelle
    • RE: ශ්‍රී ලංකාවේ wall arts ඔක්කොම එකම තැනකින්

      great broo

      posted in Blogs
      Nubelle
      Nubelle
    • RE: Lanka developers t-shirt

      wade karamu ehenam

      posted in Comments & Feedback
      Nubelle
      Nubelle
    • RE: Lanka developers t-shirt

      @root ow karamu

      posted in Comments & Feedback
      Nubelle
      Nubelle
    • RE: Lanka developers t-shirt

      @root design eka wens karanwada root

      posted in Comments & Feedback
      Nubelle
      Nubelle
    • Lanka developers t-shirt

      Lanka developers t-shirt එක ආයෙත් ප්‍රින්ට් කරන්න බෙලුවෙ, කට්ටියගෙ අදහස් කොහොමද?

      posted in Comments & Feedback
      Nubelle
      Nubelle
    • RE: ලොවම මවිත කරන අලුත්ම malware එක XHelper

      Thank you broo

      posted in Blogs
      Nubelle
      Nubelle
    • RE: php form එකක තියෙන variable එකක් තව multiple pages වලට යවන්නේ(පෙන්නන්නේ) කොහොමද php වලින්.

      code eka daapan mchan balana

      posted in General Discussion
      Nubelle
      Nubelle
    • RE: මොනවද මේ RANSOMWARE?

      thanks brooo

      posted in Blogs
      Nubelle
      Nubelle
    • RE: ශ්‍රී ලංකාවට Google Crowdsource!

      Thanks brooo

      posted in Blogs
      Nubelle
      Nubelle
    • Enadoc TechMeetUp

      highres_487932233.jpeg

      Details
      Get an introduction to Angular Best Practices and learn about
      e-commerce enablement for business solutions . Hear it directly from industry leaders!

      Agenda

      [ 6.30 - 7.10pm] Best Practices for Clean and
      Performant Angular: Sajeetharan

      [ 7.15 - 8.00pm] Payment Integration for Sites and
      Mobile Apps: Dhanika

      Time : Wednesday, January 29, 2020
      6:00 PM to 8:00 PM

      Location

      posted in Events ( Free & Paid )
      Nubelle
      Nubelle
    • 1
    • 2
    • 16
    • 17
    • 18
    • 19
    • 20
    • 36
    • 37
    • 18 / 37