DEV Community

Amazing
Amazing

Posted on

My work for 2.8

In our 2.8 release, I would be able to contribute 3 quick fix for our project

About page and adding more documentation for react native app

I have been overthinking on how I would fit our currently About page into our mobile app. Then I regconize I should keep the ball rolling by having draft and put in some work so peoples can have more inputs into it. I then reading the doc on how to implement an ScrollView in react-native and learn how to insert line break. Working on using flex for responsive design. I try to implement a back ground image for our ScrollView so it look fancy enough but yet I will still need to look more into this ever since more UX principles need to be follow.

You can check out my current work here:About page

I also having a small PR to add 2 usefull Expo CLI commands which is expo doctor and expo update into our react native doc for the later generation of Telescope when developing our
mobile app.Most of the time when I start working on our mobile app. There has always been dependency related problems. So for react native to trasnlate mobile app writting in react to native, they host the app on a virtual machine which acting like a bridge, then that bridge distribute our app and translate into native language. The virtual machine require up to date or I can say compatible dependency to be able to run smoothly. So running expo doctor will help indentify incompatible dependency and since our renovate-bot did not allow in the mobile subfolder, expo update will get the job done easily.

My doc PR

Fixing Linkyfier

When I use LinkifyHTML to make every hyperlink clickable. We aaccidentally linkify all of the img tag which is not what we want it to behave. When I was wondering on how to fix it our prof have point out the ignore tag in the doc and here is my qucik fix:

article.content = linkifyHtml(article.content, { ignoreTags: ['img'] });
Enter fullscreen mode Exit fullscreen mode

I would have to be more flexible on suing the doc to figure out how to solve many more problems. Got a lot to learn !

Top comments (0)