How can I write component code


#1

I was write a component code , but it’s old (I heard that) , can you help me how to write the new ones which suitable for the newest version?


#2

What are you writing a component for?