TESSHow to use Array.sort() to sort ascending & descendingsort() is a method of Array to sort number or string.Mar 25Mar 25
TESSEasily use animate chart in React by “Recharts”Recently, I’m making a stock website, which needs some charts to show user’s estate, earning, sum of cost and dividends.Feb 1Feb 1
TESSThe way to disable ”react/prop-types rule”If you have only one file you want to disable prop-type validation you can use:Jan 20Jan 20
TESSHow to build a editable table with ReactThe target is to build a table, which you can double click it, and you can put in some text or number in the table.Jan 18Jan 18
TESSthe “return” of useEffect(React)Basically, uesEffect receive 2 variable, first one is a function, the second one is a array.Jan 17Jan 17
TESSA little secret you need to know about JavaScript’s Number()If you put a number in Number() function, of course it turns back a number.Jan 3Jan 3
TESSWhen your className is a variable(React&CSS.module)There are lots of ways to write CSS in React. CSS.module is a way which can keep CSS from polluting because CSS.module automatically adds…Dec 27, 2023Dec 27, 2023