htnabe / suep Goto Github PK
View Code? Open in Web Editor NEWThis repositry is for my first and awesome smartphone app.
Home Page: https://suep.netlify.app/
This repositry is for my first and awesome smartphone app.
Home Page: https://suep.netlify.app/
In the format for storing lecture information, there is a mixture of notations such as '月1', '月 1' (single-byte space), and '月 1' (double-byte space).
Unify these notations into a 'day + number' (no space in between) expression such as '月1'.
Regarding data persistence
Currently, using AsyncStorage slows down the reading and writing of data noticeably, especially on Android devices. In order to solve this problem, I assume it would be a good idea to move to Realm
.
Performance tuning of FlatList, etc.
In particular, FlatList may cause unintended re-rendering due to unrelated state changes.
UseContext
There are mainly two methods to manage states globally, Redux
and useContext
. useContext is currently the only method used in SUEP. useContext has its own disadvantages, so we should consider migrating to Redux.
Is your feature request related to a problem? Please describe.
Currently, the backend system consists of Google Clouad Platform
and uses several Google related services. In the future, I plan to move to a system using FIrebase
and Cloud Functions
that are not used now. Although the difficulty of implementation and learning costs will increase, I would like to use these to make the system configuration more robust.
Describe the solution you'd like
Firebase
first (since there is abundant documentation on the Expo
side and it is relatively easy)Describe alternatives you've considered
Nonde
Additional context
None
Since the EAS build cannot perfectly support Sentry, another method (e.g., Crashlytics) must be taken to examine the app's logs.
Making style variables in each files into an external file
For now, each screen or function has its own style, so it's neccesary to create some files with the common style functions.
Eg: a file w/ color styles and w/ font size styles, w/ margin and padding values etc.
Change of notation from mere JS functions to JSX and make component files
In some files, mere functions are used extensively. Therefore, it's necessary to convert mere functions to JSX to reduce the amount of code. Also, the components used in each screen should be managed in an external file to improve code readability.
For safe and fast development, we believe it is time to separate the program to be executed in the development and production environments. Specifically, we should separate the APIs to be used in the production and development environments as follows,
There are ways to distinguish between development and production environments using variables provided on the Expo side. These should be implemented as soon as possible (preferably in time for the major update in June).
We have been using git-flow
like since the beginning of SUEP development, but I don't think git-flow
works well for development efficiency and accuracy. The reasons are as follows.
develop
branch is almost the same as the main
branchIn particular, the only difference between the develop
branch and the main
branch is whether logs are displayed in console.log
or not.
Therefore, I think it is appropriate to discontinue git-flow and proceed with the transition to GitHub Flow
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.