You need to sign in to do that
Don't have an account?
sreekanth vallepu
could pls explain what is reactive
could u pls exaplain about what is track reactive and api reactive
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Track:
To track a private property’s value and re-render a component when it changes, decorate the property with @track. Tracked properties are also called private reactive properties.
API:
To expose a public property, decorate it with @api.
Public properties define the API for a component. An owner component that uses the component in its markup can access the component’s public properties. Public properties are reactive. If the value of reactive property changes, the component’s template rerenders any content that references the property.
To expose a public method, decorate it with @api. Public methods are part of a component’s API. You can use a JavaScript method to communicate down the containment hierarchy. For example, an owner calls a method on a child component that it contains.
https://rajvakati.com/2019/02/07/lightning-web-component-reactive-properties/
Please mark as Best Answer if above information was helpful so that it can help others in the future.
Thanks,
This might help you
http://simpluslabs.com/how-to-create-update-delete-and-fetch-records-in-lightning-web-component/
If this answer is helpful for you then mark it as the best answer.