Comments (4)
Fuse.js is pretty decent for this, as it can use fuzzy logic to match questions. It's also pretty lightweight and you can make it run on the website after everything is loaded, by getting content from the page and indexing it for later (so first few seconds, the search will be unresponsive). If implemented alongside a Service Worker, it could be really darn fast with preloaded content. Not sure how easy that is, though.
from 30-seconds-of-interviews.
This could get hairy
from 30-seconds-of-interviews.
If we pre-load a JSON of questions, and slowly collate and fetch the questions this could be easy enough. With the issues related to search and pre-loading, I think a good next issue would be state design so that as we design the search and page navigation, since it sounds like React will be the front end, coming up with the data and state structure would be a big help for making sure things can render
from 30-seconds-of-interviews.
We're closing this as well. We haven't talked about this for over a week. This might be a good thing to do once our codebase gets bigger.
from 30-seconds-of-interviews.
Related Issues (20)
- Refactor + Optimize builder scripts HOT 1
- New feature proposal: React Questions HOT 8
- Give each question a ID to allow linking to specific questions. HOT 3
- Question is displayed twice in README.md HOT 13
- Reword the `setState` question to explicitly reference React HOT 1
- An error in JS question: What is a stateless component? HOT 1
- The answer of the question "In which states can a Promise be?" have to include the state <settled> HOT 2
- Comment is showing on main website under 'Good to hear' HOT 1
- update stateful-components.md HOT 8
- A problem with 'What is Big O Notation?'
- A problem with 'What is Big O Notation?' HOT 3
- questions.json is not built correctly when a question is missing a section HOT 1
- Found a typo HOT 2
- Question on CSS sibling selectors is partially wrong HOT 1
- Feature Request: Dark Mode HOT 2
- Home URL is broken 404 HOT 2
- Plans for the second version HOT 11
- Accessibility questions HOT 9
- The answer to the "What are JavaScript data types?" question is no longer correct HOT 1
- A small request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 30-seconds-of-interviews.