Dilip23 / reason-react-async-select

React-select Async using ReasonML

Home Page:https://visionary-hamster-05eb87.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Select using ReasonReact

Run

npm install
npm run server
# in a new tab
npm start

Open a new web page to http://localhost:8000/. Change any .re file in src to see the page auto-reload. You don't need any bundler when you're developing!

How come we don't need any bundler during development? We highly encourage you to open up index.html to check for yourself!

Bundle for Production

We've included a convenience UNUSED_webpack.config.js, in case you want to ship your project to production. You can rename and/or remove that in favor of other bundlers, e.g. Rollup.

We've also provided a barebone indexProduction.html, to serve your bundle.

npm install webpack webpack-cli
# rename file
mv UNUSED_webpack.config.js webpack.config.js
# call webpack to bundle for production
./node_modules/.bin/webpack
open indexProduction.html

By the way, ReasonReact comes with a small router you might be interested in.

About

React-select Async using ReasonML

https://visionary-hamster-05eb87.netlify.app/


Languages

Language:JavaScript 52.8%Language:Reason 38.2%Language:HTML 9.0%