Urdu blog

Urdu adab

جمعہ، 20 فروری، 2015

waqas.gujjar.965\964:

waqas.gujjar.965\964:
شائع کردہ بذریعہ waqas پر 9:58 PM کوئی تبصرے نہیں:
اسے ای میل کریں!BlogThis‏‫X پر اشتراک کریں‏Facebook پر اشتراک کریں‏Pinterest پر اشتراک کریں

شائع کردہ بذریعہ waqas پر 9:07 PM کوئی تبصرے نہیں:
اسے ای میل کریں!BlogThis‏‫X پر اشتراک کریں‏Facebook پر اشتراک کریں‏Pinterest پر اشتراک کریں
جدید تر اشاعتیں ہوم
سبسکرائب کریں در: اشاعتیں (Atom)
Subscribe in a reader
Subscribe in a reader

Blogroll

میرے بارے میں

waqas
میرا مکمل پروفائل دیکھیں

بلاگ آرکائیو

  • ◄  2020 (2)
    • ◄  اپریل (2)
  • ◄  2016 (12)
    • ◄  اگست (12)
  • ▼  2015 (70)
    • ◄  ستمبر (37)
    • ◄  اگست (31)
    • ▼  فروری (2)
      • waqas.gujjar.965\964:

Social Profiles

Subscribe in a reader Follow @waqasahmed1214 Waqas Ahmed

Create Your Badge Visit waqas's profile on Pinterest.

Banner

text gadget

Ads 468x60px

Featured Posts Coolbthemes

About

);}}exportdefaultApp; main.js importReactfrom'react';importReactDOMfrom'react-dom';importAppfrom'./App.jsx';ReactDOM.render(, document.getElementById('app')); NOTE Notice that we are usingkey = {i}insidemap()function. This will help React to update only necessary elements instead of re-rendering entire list when something change. It is huge performance boost for larger number of dynamically created
  • Asim nadeem aasi
    جرا ثیموں بھری سوئی سے تن کو سی رہے ہیں دوائی زہر سی ھے زہر بھی تو پی رہے ہیں ہمارا سانس ہی سر طان بن جائے نہ دل کا ہم ایسی حبس آمیزہ ہ...
  • Popular Posts

    • (کوئی عنوان نہیں ہے)
    • How To Get Your Website or blog Indexed Fast Solved
      How To Get Your Website or blog Indexed Fast Solved   Providing quality content to your readers is importan...
    • learnig apps
      Spelling | Reading Rockets Skip to main content ...
    • The arrival of 5Gwill bring about higher mobile network connection speeds and greater data capacity. In order to power this boosted performance, however, new base station technology is required. Base stations are a key bottleneck through which all mobile network traffic must pass. It’s this bottleneck that currently restricts 4G to an average peak data rate of 50 megabits per second, and prevents it from being able to handle true real time transmissions. Conversely, 5G could well enable real-time radio communication and maximum data rates of 10 gigabits per second. The Fraunhofer Institute for Applied Solid State Physics IAF in Freiburg, Germany, claims to have “special knowledge on how to widen this bottleneck”. Its researchers are developing new types of power amplifiers that can send higher quantities of data more quickly than current 4G technology. These new power amplifiers utilise additional radio frequencies of up to 6 gigahertz - LTE, by comparison, is limited to 2.7 gigahertz. However, while these higher frequencies lead to faster data transmission, they are also much harder to power efficiently. As such, Fraunhofer IAF’s scientists are using gallium nitride (GaN) to create power transmitters that are better suited to higher 5G frequencies. Dr. Rüdiger Quay of Fraunhofer IAF explains, “Due to its special crystal structure, the same voltages can be applied at even higher frequencies, leading to a better power and efficiency performance”. Combined with new electronically steerable antennas that will deliver data to customers with pinpoint accuracy, 5G networks will be able to handle an expected 200-fold increase in data transmission without a massive increase in power expenditure.
    • React uses JSX for templating instead of regular JavaScript. It is not necessary to use it, but there are some pros that comes with it. JSX is faster because it performs optimization while compiling code to JavaScript. It is also type-safe and most of the errors can be caught during compilation. JSX makes it easier and faster to write templates if you are familiar with HTML. Using JSX JSX looks like regular HTML in most cases. We already used it in environment setup tutorial. Look at the code fromApp.jsxwhere we are returningdiv. App.jsx importReactfrom'react';classAppextendsReact.Component{ render(){return(
      HelloWorld!!!
      );}}exportdefaultApp; Even though it's similar to HTML, there are a couple of things you need to keep in mind when working with JSX. Nested Elements If you want to return more elements, you need to wrap it with one container element. Notice how we are usingdivas a wrapper forh1,h2andpelements. App.jsx importReactfrom'react';classAppextendsReact.Component{ render(){return(

      Header

      Content

      Thisis the content!!!

      );}}exportdefaultApp; Attributes You can use your own custom attributes in addition to regular HTML properties and attributes. When you want to add custom attribute, you need to usedata-prefix. In example below we addeddata-myattributeas an attribute ofpelement. importReactfrom'react';classAppextendsReact.Component{ render(){return(

      Header

      Content

      Thisis the content!!!

      );}}exportdefaultApp; JavaScript Expressions JavaScript expressions can be used inside of JSX. You just need to wrap it with curly brackets{}. Example below will render2. importReactfrom'react';classAppextendsReact.Component{ render(){return(

      {1+1}

      );}}exportdefaultApp; You can not useif elsestatements inside JSX but you can useconditional (ternary)expressions instead. In example below variableiequals to1so the browser will rendertrue, if we change it to some other value it will renderfalse. importReactfrom'react';classAppextendsReact.Component{ render(){var i =1;return(

      {i ==1?'True!':'False'}

      );}}exportdefaultApp; Styling React recommends using inline styles. When you want to set inline styles, you need to usecamelCasesyntax. React will also automatically appendpxafter the number value on specific elements. You can see below how to addmyStyleinline toh1element. importReactfrom'react';classAppextendsReact.Component{ render(){var myStyle ={ fontSize:100, color:'#FF0000'}return(

      Header

      );}}exportdefaultApp; Comments When writing comments you need to put curly brackets{}when you want to write comment within children section of a tag. It is good practice to always use{}when writing comments since you want to be consistent when writing the app. importReactfrom'react';classAppextendsReact.Component{ render(){return(

      Header

      {//End of the line Comment...}{/*Multi line comment...*/}
      );}}exportdefaultApp
    • We already stated that ReactJS is JavaScript library used for building reusable UI components. Definition can be found on React official documentation − React is a library for building composable user interfaces. It encourages the creation of reusable UI components which present data that changes over time. Lots of people use React as the V in MVC. React abstracts away the DOM from you, giving a simpler programming model and better performance. React can also render on the server using Node, and it can power native apps using React Native. React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding. React Features JSX− JSX is JavaScript syntax extension. It isn't necessary to use JSX in React development, but it is recommended. Components− React is all about components. You need to think of everything as a component. This will help you to maintain the code when working on larger scale projects. Unidirectional data flow and Flux− React implements one way data flow which makes it easy to reason about your app. Flux is a pattern that helps keeping your data unidirectional. License− React is licensed under the Facebook Inc. Documentation is licensed under CC BY 4.0. React Advantages React uses virtual DOM which is JavaScript object. This will improve apps performance since JavaScript virtual DOM is faster than the regular DOM. React can be used on client and server side. Component and Data patterns improve readability which helps to maintain larger apps. React can be used with other frameworks. React Limitations React only covers view layer of the app so you still need to choose other technologies to get a complete tooling set for development. React is using inline templating and JSX. This can seem awkward to some developers.
    • free software
      pakistan Copyright © Waqas965.blogspot.com inter net download manage download link here HTML Image...
    • State is the place where the data comes from. You should always try to make your state as simple as possible and minimize number of stateful components. If you have, for example, ten components that need data from the state, you should create one container component that will keep the state for all of them. Using Props Code sample below shows how to create stateful component using EcmaScript2016 syntax. App.jsx importReactfrom'react';classAppextendsReact.Component{ constructor(props){super(props);this.state ={ header:"Header from state...","content":"Content from state..."}} render(){return(

      {this.state.header}

      {this.state.content}

      );}}exportdefaultApp; main.js importReactfrom'react';importReactDOMfrom'react-dom';importAppfrom'./App.jsx';ReactDOM.render(, document.getElementById('app'))
    • In this tutorial we will show you how to combine components to make the app easier to maintain. This approach will allow you to update and change your components without affecting the rest of the page. Stateless Example Our first component in example below isApp. This component is owner ofHeaderandContent. We are creatingHeaderandContentseparately and just adding it inside JSX tree in ourAppcomponent. OnlyAppcomponent needs to be exported. App.jsx importReactfrom'react';classAppextendsReact.Component{ render(){return(
      );}}classHeaderextendsReact.Component{ render(){return(

      Header

      );}}classContentextendsReact.Component{ render(){return(

      Content

      The content text!!!

      );}}exportdefaultApp; To be able to render this on page, we need to import it inmain.jsfile and callreactDOM.render(). We already did it when we were setting environment. main.js importReactfrom'react';importReactDOMfrom'react-dom';importAppfrom'./App.jsx';ReactDOM.render(, document.getElementById('app')); Above code will generate following result: Stateful Example In this example we will set the state for owner component (App). TheHeadercomponent is just added like in the last example since it doesn't need any state. Instead of content tag, we are creatingtableandtbodyelements where we will dynamically insertTableRowfor every object from thedataarray. You can see that we are using EcmaScript 2015 arrow syntax (⇒) which looks much cleaner then the old JavaScript syntax. This will help us create our elements with fewer lines of code. It is especially useful when you need to create list with a lot of items. App.jsx importReactfrom'react';classAppextendsReact.Component{ constructor(){super();this.state ={ data:[{"id":1,"name":"Foo","age":"20"},{"id":2,"name":"Bar","age":"30"},{"id":3,"name":"Baz","age":"40"}]}} render(){return(
      {this.state.data.map((person, i)⇒)}
      );}}classHeaderextendsReact.Component{ render(){return(

      Header

      );}}classTableRowextendsReact.Component{ render(){return(
    {this.props.data.id}{this.props.data.name}{this.props.data.age}

    بلاگ آرکائیو

    • اپریل (2)
    • اگست (12)
    • ستمبر (37)
    • اگست (31)
    • فروری (2)
    سادہ تھیم. تقویت یافتہ بذریعہ Blogger.