dimanche 13 août 2017

React JS: How to get all props component expects?

I am starting to unit test a React application and one of the challenge I am facing is to determine all the props a component needs to mount it properly. Is there any utility to check what all is needed to mount the component successfully? Additionally the data type of those props to initialize them apppropriately for component rendering.

Aucun commentaire:

Enregistrer un commentaire