When developing an applications, developers need a way to save modify and query the data. The application may use the a database management system (DBMS) to store the data but how to modify and retrieve data in the DBMS? DBMS has a set of raw commands to run operations on the system, for example SQL commands. We could use it in raw but it will make the codes look dirty.
In this post, I will guide you how to create a React Component step-by-step
Step 1: Create the Component
In rails, there are basically three ways to store server-side information in the client’s browser:
spoiler alert: they’re all actually just cookies
On my last post, I’ve talked about shallow rendering to test React components. This post is the sequel of that post since I’ll also talk about testing React components. The shallow rendering that I’ve done on the last post is using the help from
createRenderer function from React Addons Test Utils. Unfortunately, (until now) there are no function for traversing React element trees neatly just by using the help from React Addons Test Utils. If you want to check an element somewhere deep in the component tree, you will end up in a long chaining of
props.children.props.children… which it also happened to me and I think it’s not elegant.
After my RbCAW-related tasks are (mostly) done on the last sprint, my current responsibility as a back-back-end developer is to implement caching so hopefully our homepage will load in less than half a minute
crosses finger. Unfortunately, testing the caching mechanism is a pain in the back.
It’s literally only one day after UTS.
My last commit is a typo fix.
Collaborative coding, you code and submit your code to your “branch”, but there must be a time when you need to integrate your code with other programmers’ code. Git is one tool that can make life easier, by providing seamless ways to join codes.
Wait… there are more than one ways to do that? Yeah, for joining codes git has command merge and rebase. In git experiences, programmers must have been used merge before, but what rebase really is? Continue reading “Changes to Integrate”