This works great for thelist-of-draftscomponent. However, your app is likely made up of many different components. On another page you may want a component to display the number of drafts. You may be tempted to copy and paste your existingwillRendercode into the new component. ...
Step 24:PressCtrl Nto get a new window to appear(File | New also works), then paste three times (so we have the original, and copies #1 and #2), e.g. usingCtrl V. Step 25:Here you leave the original entry as it is, but then you change thecopy #1to the API name of the fir...
This works great for thelist-of-draftscomponent. However, your app is likely made up of many different components. On another page you may want a component to display the number of drafts. You may be tempted to copy and paste your existingwillRendercode into the new component. ...
This works great for thelist-of-draftscomponent. However, your app is likely made up of many different components. On another page you may want a component to display the number of drafts. You may be tempted to copy and paste your existingwillRendercode into the new component. ...