Skip to content

amitkroutthedev/js-code-helper

Repository files navigation

JS Code Helper

This is a code extension that helps to write commonly used functions in React and commonly used packages.

vs code screenshot

Features

The code snippets in this repository cover a wide range of commonly used packages like redux, formik, yup,...more to be added in future. These are the following code snippets that can be used,

Prefixes Code Description Required Packages
rfy Custom Form with Formik and Yup validation in React Formik, Yup
axioget "GET" call in axios Axios
axiopost "POST" call in axios Axios
actioncreate Creating action function to handle reducers in redux Redux, React-Redux
reducercreate Creating reducers function to store data in redux Redux,React-Redux
storecreate Creating store function to integrate redux store in react app redux-logger,redux-thunk,redux-persist,@reduxjs/toolkit

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • myExtension.enable: Enable/disable this extension.
  • myExtension.thing: Set to blah to do something.

Release Notes

0.0.1

  • Added basic functions for the common used packages like Axios,Redux,Formik and Yup

0.1.0

  • Updated Formik Code little bit

Enjoy!

Releases

No releases published

Packages

No packages published