2023 Jun 07 9:18 AM - edited 2023 Jun 14 3:05 PM
This post is part of the UI5 Web Components for React Challenge (June 2023)
Welcome to the first week of our developer challenge! Your objective is to utilize the Table component from UI5 Web Components for React to showcase the data stored in the `tableData` variable on the webpage.
To accomplish this, you'll need a beginner's understanding of React and JavaScript. If you're unfamiliar with these topics, we've compiled some helpful resources for you to brush up on the fundamentals.
To get started, please sign up for an account on CodeSandbox, which you can access here. Make sure you are signed in; otherwise, you won't be able to fork the repository and work on your solution. You can verify your login status by checking the menu located at the top left of the page. It should resemble the screenshot provided.
Goal: Create a table using `tableData` in src/Solution.jsx
You have three tasks you need to accomplish to get credit for completion.
1) Change the name of the title in App.tsx to include your name. This title will change every week.
2) In Solution.jsx, below the label, create a table using the Table component from here. This table should create all table rows dynamically and load all rows at once. The column headers should match the object parameter labels. You are going to need to add titles to each of the rows in the data. I used tasks I was completing for this week as inspiration.
3) Take a screenshot of your full table and header like the screenshot at the top of this blog post and post it to THIS discussion.
You will be writing your code in the Solution.jsx file. As you write and save your code, you should observe the corresponding changes in the development space located on the right side of the screen. If it isn’t automatically updating, you can click the refresh button on the right that appears when you hover over the panel.
Note: If you encounter issues with your frontend not loading, ensure that you have imported all the necessary dependencies. Unfortunately, the debugging experience may not provide clear error messages. One useful approach is to comment out sections of code until the UI loads, then gradually uncomment to isolate the problematic line.
2023 Jun 08 12:12 AM
2023 Jun 08 8:51 AM
Hi there!
Nice challenge and very easy to get started thanks to the CodeSandbox.
I am still not sure I am a big fan of JSX though. Mixing markup and logic seems dangerous and complex - I am not sure I understand the real benefits. Maybe someone can enlighten me 😅
Anyway, here is my screen shot:
2023 Jun 09 1:52 PM
Hi,
I don't know enough to enlighten you, but you piqued my interest. My new perspective based on a brief research is that it sounds or looks like JSX is optional and is like "another tool to add to one's toolbox if they desire." It sounds like a better version of or replacement for HTML, but not a replacement for the MVC of SAPUI5. I have been studying SAPUI5 and OpenUI5 and so far considered Web Components as totally separate, like a transition for web developers that may be interested in moving to UI5. I guess like anything else, JSX has its plus and minuses. Thank you for piquing my interest on JSX.
2023 Jun 10 7:43 AM
Hi @joeremo,
Thanks for your reply. What you say makes total sense. It probably sits somewhere between raw HTML and the MVC approach. I guess it is a question of using the right approach for the right application.
I also do like to use the UI5 Web Components without React, like with no framework at also, simply using vite. This is the simplest approach, very close to raw HTML and therefore very performant.
Best, Nico
2023 Jun 08 11:28 AM
2023 Jun 14 4:26 PM
2023 Jun 09 2:13 AM
2023 Jun 09 11:50 AM - edited 2023 Jun 13 8:22 AM
Hello, am I the only one who has issues to open codesandbox.io website? It is returning ERR_TUNNEL_CONNECTION_FAILED in 99% of the times I try it.
EDIT: seems to be proxy issue on my side.
2023 Jun 09 1:09 PM
2023 Jun 09 2:08 PM
2023 Jun 10 1:11 AM
2023 Jun 10 1:36 AM
2023 Jun 10 7:27 AM
2023 Jun 10 2:42 PM
2023 Jun 12 3:09 PM
2023 Jun 12 4:05 PM
2023 Jun 12 4:09 PM
2023 Jun 14 1:26 AM
It doesn't appear that you've used the SAP UI5 Web Components for React Table component. You will need to use that in order to get credit for completing this challenge. You can find the info for the Table component linked below, along with examples of how to use it. Good luck!
https://sap.github.io/ui5-webcomponents-react/?path=/docs/data-display-table--docs
2023 Jun 17 9:15 AM
2023 Jun 13 7:42 AM
2023 Jun 13 2:58 PM
2023 Jun 13 3:35 PM
2023 Jun 13 10:28 PM
I have just found this new challenge.
I did the other challenge for ABAPers and It was very informative.
Abap is my primary focus language.
I hope to be able to follow you 😅
This is my first time with Web Component in React 😀
nice to have found it 😉
Francesco
Francesco
2023 Jun 14 12:29 PM
Here is my week 1 challenge. The challenge is awesome. I am excited to do it.
Thanks.
2023 Jun 14 12:46 PM
2023 Jun 15 10:05 AM - edited 2023 Jun 15 10:18 AM
2023 Jun 15 10:21 AM
2023 Jun 15 10:21 AM - edited 2023 Jun 15 1:21 PM
2023 Jun 15 11:16 AM
2023 Jun 16 2:59 AM
2023 Jun 16 10:46 AM
2023 Jun 16 6:44 PM
2023 Jun 22 3:24 PM
2023 Jun 23 10:38 AM
2023 Jun 27 3:10 PM
Hello,
Thank you for the challenge. Here is the screenshot of my table:
Regards, Nicolas
2023 Jun 30 8:44 PM
2023 Jul 03 3:58 PM
2023 Jul 05 9:49 AM
Thanks @MichelleMoudy for the challenge, was looking for a kickstart into react for some time:)
Thanks,
Emanuel
2023 Jul 05 9:50 PM - edited 2023 Jul 05 9:52 PM