Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nsisodiya/react-components
WIP - Simple React Component creation workflow
https://github.com/nsisodiya/react-components
Last synced: 27 days ago
JSON representation
WIP - Simple React Component creation workflow
- Host: GitHub
- URL: https://github.com/nsisodiya/react-components
- Owner: nsisodiya
- Created: 2016-06-20T06:51:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-25T04:29:10.000Z (over 8 years ago)
- Last Synced: 2024-04-26T06:54:20.285Z (8 months ago)
- Language: JavaScript
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sample-react-component-lib
How to build this repo```
npm install
npm run server
```# Purpose and Problem with current code
This repo is working fine. It is meant for a small collections of Reusable React Components. like React-Bootstrap.
Repo include 2 main section.
1. Actual Code
2. Code to Showing Demo of Components.But there is a minor problem.
In order to make demo page working, I have to include some variable like this```
import React from "react";
import ReactDOM from "react-dom";
import ReactCSSModules from "react-css-modules";
import {
OverlayTrigger,
Tooltip
} from "react-bootstrap";
import uuid from "uuid";window.React = React;
window.ReactDOM = ReactDOM;
window.ReactCSSModules = ReactCSSModules;
window.UUID = uuid;
window.ReactBootstrap = {
OverlayTrigger,
Tooltip
};
```This is the problem which I am facing. I want to remove this hack. If you know the solution then fork and send me pull request !!
# Video
https://www.youtube.com/watch?v=UsxEZTm0kYk