Posts by Miguel S. Silva • 1 point
2 posts
-
0
votes1
answer155
viewsQ: Change a Component Class React to a hook useState React-Native
I want to transform this code of class in a code of useState hook, wanted the same functionality as this code class has become the Hook export default class App extends Component {…
-
0
votes0
answers27
viewsQ: How do I change a Component React to a React Hooks function?
I want to take this whole Component and turn it into a hook with functions export default class App extends Component { constructor(props) { super(props); this.state = { selectedStartDate: null,…