Skip to main content

Posts

Showing posts from August, 2023

Important Basics

 Very important basics for REACT NATIVE The “state” object contains the data that gets rendered on screen The “Text” code block renders the state on screen  PROPS = properties   How to apply styles : In two types styles can be applied: inline and stylesheet    write any js function / event before render method and call that event inside view where Button control is defined    Total flex length of a mobile screen is  : 6 Some important properties of flex and margins  vertical positioning   =    horizontal  positioning =        =   Positioning of an element into flex     How to set value into state dynamically :     How to write button onclick event       How to put all your contents inside scrollview    How to display a list    How to apply FlatList      Section List