r/learnjavascript • u/2TB_NVME • 10d ago
What project should I build before react?
I just finished Jonas Schmedtmann's JS course and would like to do a really hard project before moving onto react where I can practice all the concepts and get experience building an actually nice project on my own. So I want to build a project like the Forkify application in the course which is like a single page app with a lot of cool functionality. I've thought about building a paper trading app but the decided to build something else because of Api limits. Please share some advanced JS project ideas that you think could be a good way to practice it all!
4
u/Duffdeft 10d ago
There repositories with ideas in the web, check them out, you just have to type that into google and you should find several
If your goal is learning react, I would suggest implementing a quick version of Tetris
4
u/gimmeslack12 helpful 10d ago
Build a pokemon trading card app using the pokedex API?
Just build your own forkify?
Build tic-tac-toe with NxN grid?
Make a fantasy sports app of some sort?
Create MS Paint in the browser?
Build a maze with an computer mouse that has to find its way through?
A color palette generator?
Memory guessing game?
I mean... I'm just riffing here you can literally do anything you want. Yes it's programming but it's a very creative endeavor.
3
u/neon_wondercore 10d ago
Build a Kanban board with drag and drop using vanilla JS to handle the DOM events and state. This forces you to manage application state without a framework, which is the exact skill React abstracts away for you later
3
u/TheRNGuy 10d ago edited 10d ago
Userscripts, even make them while you're learning or using React.
If you know some sites that could be improved with js, make userscripts for them. It's much better than generic "Todo app", because it will be original idea and you'll actually use it.
I wouldn't make apps on vanilla js, this is why React was made (in old times, vanilla js was used)
Also learn TypeScript together with React, from day 1.
2
2
u/Discordbothost 9d ago
a client-side notes app with markdown + tags + search in localStorage is underrated for this. you get modules, filtering, and state without api limits. when updating the list starts feeling painful by hand you've found exactly what react is for.
1
u/WaveBounds 10d ago
A kanban board like Trello is a great pick for this. You get drag and drop, state that has to stay in sync with the UI, saving to local storage and plenty of room for extras like labels, due dates, search, and undo. None of it needs an API so no limits to worry about. If you build it with the MVC pattern from Forkify, you will feel exactly why React exists by the end which makes the jump much easier.
1
u/testingaurora 8d ago
Timers or countdown would be helpful. Anything where you have to handle datetime. Try all the different methods and apis too so you familiarize yourself with what is available.
Calculators are tedious and somewhat challenging.
Oh anything with promises too.
1
u/vibeandco 6d ago
You could keep the paper-trading idea and use a small set of saved prices. Add a Next day button that advances through the data. That lets you build and test the app without a live market API.
Start with a cash balance, holdings, and a trade history. Reject a buy when the balance is too low, and a sell when you do not own enough shares. Check that a rejected trade changes nothing. Then add portfolio totals and filters for the history. Use fixed examples with known totals to check your calculations before adding charts. That gives you specific behavior to implement rather than just a bigger interface.
1
u/Both-Tart7460 5d ago
I finished Jonas course about 2 years ago too.
Before jumping into React, the project that helped me the most was building a 100% client-side, zero-API utility tool (no external API keys, so zero rate limit headaches).
Try building a text formatter / symbol generator with pure Vanilla JS:
State syncing without React:
Try managing state manually. Create a simple JS object state = { text: '', category: 'all' } and a function render(). Whenever input changes, re-run render() and update the DOM cleanly without page reload. It is painful by hand, but when you learn React later, you will immediately say "OH, that is why React exists!"
2. Tricky browser APIs:
- navigator.clipboard.writeText(): add a fallback with document.execCommand('copy') because mobile Safari blocks clipboard if not in direct user tap!
- localStorage: save user favorites or recent history.
3. Unicode edge cases (this was super hard for me):
If you type emojis or rare symbols, text.length and split('') actually break in JS because they are multi-byte surrogate pairs. You have to learn Array.from() or codePointAt() / String.fromCodePoint().
Doing this completely in pure JS gave me so much confidence before React. Highly recommend trying something like this! Good luck!
5
u/whiterhino8 10d ago
At the beginning of any learning language start with Todo app. Boring but super useful to get started.If you want more advance look at frontend mentor website .