Vasyl Stokolosa

Vasyl Stokolosa

2 points

Links

Badges

Veteran
Veteran

Forums

Vasyl Stokolosa

8yr ago

Validation of CSV file against user defined schema (returns back object with data and invalid messages) - CSV File Validator

If you work with .csv files you may find this helpful. You can easily validate

.csv file by passing configurations and get back data and invalid messages

which you will be specified :)

Vasyl Stokolosa

8yr ago

Create React + Redux app structure with build configurations ✨ - React Redux app structure

What can I find here?

Express, Cors

React + Redux, ES6, async/await

React Router

Internationalization

SASS

PostCSS (autoprefixer), so you do not need -webkit, -moz or other prefixes

Build script configuration Development, Staging, Production with CDN, cache-busting support

Build script to bundle JS, CSS, with sourcemaps

Unit tests Jest, Enzyme

E2E Cypress tests

ESLint

Ghooks (pre-commit with unit tests and eslint validation)

Code Coverage (https://codecov.io)

Travis CI runs Unit and E2E tests and report to codecov

Vasyl Stokolosa

8yr ago

📡 Checking if the internet is accessible (not local connection only) - javascript

window.navigator.onLine is the simplest approach to return the online status of the browser. It is not guaranteed to be accurate. Most implementations of the API watch for changes in the local network interface to determine if your application is online or not. But what if your network interface is up, but your router is down ☝️. window.navigator.onLine will return true and it means that you are online and that is WRONG. To handle that case we make XMLHttpRequest and listen to change in the network state by events window.ononline and window.onoffline to be notified immediately 😎📡 Checking if the internet is accessible (not local connection only) is

View more