Comments (5)
【Example React project】
- Link: https://reactjs.org/community/examples.html
- ShoppingCart, testing
- CartPokedex, searching bar
- My hands-on coding from scratch
https://github.com/r06942072/pro_emoji
@gmod-dev
cd /app/data/chun-hung_dev/pro_emoji
npm start
from genomics-workspace.
【Styling for react frontend】
Option1: styled-components
styles are also part of component
- https://www.styled-components.com/docs/basics
- https://medium.freecodecamp.org/a-5-minute-intro-to-styled-components-41f40eb7cd55
- Testing the CSS, https://github.com/styled-components/jest-styled-components
- the benefit of using styled-components, inheritance
Option2: reactstrap
https://reactstrap.github.io/
from genomics-workspace.
【testing】
using Jest + Enzyme
- Test-driven development (TDD) for this project.
- Follow the idea of TDD, I will create unit.test.js file based on the Functionality list first, and then implement it.
- some library options:
- Jest + Enzyme
- Mocha + Enzyme
- Jest v.s. Mocha : Jest new and easy setup, Mocha mature and more config
from genomics-workspace.
【from JQuery to React】
React is good candidate to handle the event of UI
from genomics-workspace.
【State management library】
- The idea is add some restrictions to state of frontend UI component change, so makes it more predictable.
- The motivation of using Redux
link: https://redux.js.org/introduction/motivation - There are three fundamental principles if we use Redux
link: https://redux.js.org/introduction/three-principles
- The motivation of using Redux
- It is nicer to have a central data store in the react project.
- Share state across react components
- Choosing between: Redux (vs) mobX
- functional programming (vs) object-oriented programming
- closer to vanilla JavaScript (vs) harder to understand the underlying mechanisms
- single store (vs) multiple stores
- strict, changes centralized (vs) not easy to maintain
- more boilerplate (vs) less boilerplate
- easy debug, explicit (vs) unpredictable, implicit
- maintainable code (vs) small and simple
- data update logic is redux-defined (vs) data update logic is developer-defined
from genomics-workspace.
Related Issues (20)
- [BLAST query page] Organism display order HOT 1
- Final step to Integrate the adding organism functionality to CWL and fix CI issue HOT 3
- All feature under manage.py command HOT 3
- Do we need the sequences table? HOT 1
- Adding delete feature to script HOT 2
- Test if linkouts appear when ENABLE_JBROWSE_INTEGRATION = False HOT 1
- add CLI function to set is_shown HOT 3
- The blast_sequence table is big and only getting bigger HOT 10
- Moving docker version to the new repo
- vulnerabilities of django 1.11.20 and update blastdbcmd argument HOT 3
- Update readthedocs with command line interface documentation
- Consider truncating BLAST results when they are too large
- manage.py addOrganism capitalizes the short_name entry
- Using dbtitle in blast-results.js is awkward
- disable travis CI HOT 1
- Problems with multiple space characters in organism name
- google analytics code is missing
- change draggableBlastFeature to draggableNeatBlastFeature HOT 1
- Add Apollo link-outs to transcript and protein features HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genomics-workspace.