0.0.83 • Published 3 years ago

ars-react v0.0.83

Weekly downloads
263
License
ISC
Repository
github
Last release
3 years ago

Meeting ars-react

Ars React is javascript program for you to make works easy to using react and its dependencies like react redux or react router dom.

Ars React contains some applications, it had a global object like 'window' object in react to handle your works so easilly, the object is called ars and it is in functions/ars.js. with this object we will handle our programms.

with Ars React you can handle your urls such as api urls so easily. there is an object in a file called ars_api.js and it will handle all jobjs for you, the object is 'ars.api'.

with Ars React and its 'ars.load_module' method you will by pass redux-thunk and you will use redux without store, to handle your codes so fast and make your programm so readable. you will need just pass an api that you need to get data from it and it will retrive data and pass data in props to you so easilly to fetch it.

with Ars React you will not need to use axios any more, we have 2 methods to handle requests so easilly:

1- 'ars.get' to handle get requests. 2- 'ars.post' to handle post requests.

these methods have an ability to handle your tokens I mean refresh token and access token dynamically.

I will publish a package that is handling these tokens for loging user for nodejs and express frame work :)

with Ars React and its 'ars.store' object and its methods, you can handle your redux store and you will have an ability to add reducers dynamically to your program, for so many purpose like memory managing and dynamically importing.

With Ars React and its package ars-react/router you can handle your routes so easily and dynamically and then memory management will easy to handle and your one page website will be load very fast.

How to use ars-react

there is a two package in ars-react. one is ars and the second one is router that using ars object too.

ars-react/router

to using ars-react router, you can do like this:

#app.js import {Router},Route from "ars-react/router"

I will publish more readme to how to use this package so soon.

and at the end thanks for react, react-redux, axios, react-router-dom, @loadable/component and redux-thunk

0.0.83

3 years ago

0.0.80

3 years ago

0.0.81

3 years ago

0.0.75

3 years ago

0.0.65

3 years ago

0.0.62

3 years ago

0.0.63

3 years ago

0.0.60

3 years ago

0.0.61

3 years ago

0.0.52

3 years ago

0.0.53

3 years ago

0.0.51

3 years ago

0.0.50

3 years ago

0.0.49

3 years ago

0.0.47

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.35

3 years ago

0.0.33

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago