postman-code-generators
postman-code-generators copied to clipboard
Created Code Generator for React JS in reference to issue #351
As the popularity of react js to build websites and web apps is increasing, therefore, there is a need for the hour to build codegen for reactjs.
Here are the few websites which show the popularity of reactjs https://ezeelive.com/reactjs-popularity/ https://www.heliossolutions.co/blog/top-7-reasons-why-reactjs-development-is-so-popular/
Moreover, One of the major social media web-app Whatsapp is also built-in reactjs
@abhijitkane if you could look into this.
original ref issue -- https://github.com/postmanlabs/gsoc/issues/36
@abhijitkane Could you have a look at my work?
@2019UCP1350 We already have nodejs-axios. Could you summarize in a comment how different is this codegen from the that one?
@2019UCP1350 As @umeshp7 suggested, we already have added support for nodejs (axios) framework. From what I gathered in PR, it also do it in axios right?
In that case, can you mention if existing code gen for axios works for you as expected and if not does this PR add any new features to it?
@2019UCP1350 As @umeshp7 suggested, we already have added support for nodejs (axios) framework. From what I gathered in PR, it also do it in axios right?
In that case, can you mention if existing code gen for axios works for you as expected and if not does this PR add any new features to it?
When I had made this PR, Someone has requested the codegen snippet for reactjs, and it was not there. Moreover, I used the try, catch and async, await syntax rather than nested then and catch syntax making the code snippet look pleasant and cleaner. Also, currently, only node js Axios support is there, and snippet generates code for node js rather than react js which uses import differently than node js.
@2019UCP1350 Makes sense! Thanks for the contribution and fast response. We'll evaluate these changes and see if we can accommodate them in Postman app codegen snippets.